[pLog-svn] r6030 - plog/branches/lifetype-1.2

Reto Hugi plog at hugi.to
Sun Nov 18 16:12:47 EST 2007


On 11/17/2007 02:26 AM, Jon Daley wrote:
> If you change just this one rule back to the original, does it break 
> anything for you?
> 
> # A non-default blog (i.e. /88_userfoo)
> # (note the _userfoo part is optional for shorter URLs)
> RewriteRule ^([0-9]+)(_[^/]+)?$ index.php?blogId=$1 [L,NC]
> 
> I would prefer this rule to stay the same for backward compatibility.

I looked at the rules again and I'd like to keep it the way I fixed
them. If the mod_rewrite URL schema is used, the URL must have an
underscore and an urlized blogname, else it's not valid.

The "SEF" URL format uses /BLOGID and if we make it non-mandatory to
have an underscore after the BLOGID, mod_rewrite effectively rewrites
the url. This is not the intention because the BLOGID should be handled
via /error.php in case of the "SEF" URL setting. That's why I think the
fix is more consistend and it does not brake any URLs that where/are
generated by LifeType.

Hope you agree and understand my explanation. :)

cheers,
reto



More information about the pLog-svn mailing list