Thingy Ma Jig is the blog of Nicholas Thompson and contains any useful tips, sites and general blog-stuff which are considered interesting or handy!
Posted on 22 March 2008 in
programming
How to
Drupal
peashoter has raised a good point in an issue report for GlobalRedirect. What happens to a URL which has a fragment in it - such as:
http://www.example.com/node/100#comments
I have done a google and cant find any answer to this. It appears that the fragment is not passed to PHP. This makes it a LOT harder to fix!
On a positive note, if a user was to user a proper browser then they should have the fragment preserved for them.
A potential case could be if drupal.org decided to enable the path module and pathauto to improve site SEO. If there were embedded links to the comment form or comments on another node, then the redirection will break (if GlobalRedirect were also chosen). Obviously there are a LOT of if's in this sentence - but there certainly IS a case for a large site enabling path + pathauto and having all their links with fragments in them broken.
So - does anyone have any suggestions? If so - PLEASE report them to this issue.
Cheers :-)