/node/50 redirects to /my/alias
/node/50/ does NOT...
Maybe check if the end slash is their and remove it before looking it up in the aliassing table...
/node/50 redirects to /my/alias
/node/50/ does NOT...
Maybe check if the end slash is their and remove it before looking it up in the aliassing table...
Comments
Comment #1
nicholasthompsonGood idea - might be worth checking if the slahes version has an alias before removing the slash and checking for an alias...
For some reason you might have:
node/50 -> /myalias1
node/50/ -> /myalias2
Not sure why though... Technically drupal URL's should never end in a slash though should they?
Comment #2
nicholasthompsonFixed in 1.3...
It first does a check if the current URL has an alias - if true then redirect, if false then check if the URL ends in a slash, if true then truncate the slash off it it and check that for an alias, if true then redirect otherwise fall onto any other rules (currently just the frontpage check)
Comment #3
(not verified) commented