Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The homepage for a drupal site can be reached both ways causing a possible duplicate content issue:
drupalsite.com/index.php
drupalsite.com
posted first here:
http://drupal.org/node/580970
Comments
Comment #1
SeanBannister CreditAttribution: SeanBannister commentedYeah, I'd like to see this as a feature in Global Redirect.
I just had a quick stab at implementing it but haven't had the time to have a good look.
Comment #2
TravisCarden CreditAttribution: TravisCarden commentedIf they won't add this functionality to Drupal core, I'd definitely like to see it in Global Redirect.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedTry the latest dev; it appears a fix went in for index.php on April 18th
http://drupal.org/project/cvs/88008
Comment #4
TravisCarden CreditAttribution: TravisCarden commentedBeautiful! Works great. Thanks @mikeytown2.
Comment #6
giorgio79 CreditAttribution: giorgio79 commentedHmm, I am getting this for subdirectories as well.
Google reported lots of my pages with duplicate titles, like this... Ouch.
http://www.clipglobe.com/taxonomy/term/3384231/index.php
http://www.clipglobe.com/taxonomy/term/3384231/
(there are no external links to any of these, so the google bot must have tried these variations)
Any tips please?
Comment #7
giorgio79 CreditAttribution: giorgio79 commentedperhaps making this a global redirect, instead of just a root index.php redirect would be the way to go