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

SeanBannister’s picture

Yeah, 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.

TravisCarden’s picture

If they won't add this functionality to Drupal core, I'd definitely like to see it in Global Redirect.

mikeytown2’s picture

Try the latest dev; it appears a fix went in for index.php on April 18th
http://drupal.org/project/cvs/88008

TravisCarden’s picture

Status: Active » Fixed

Beautiful! Works great. Thanks @mikeytown2.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

giorgio79’s picture

Title: /index.php should redirect drupalsite.com » drupalsite.com/index.php should redirect drupalsite.com

Hmm, 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?

giorgio79’s picture

Title: drupalsite.com/index.php should redirect drupalsite.com » /index.php should redirect drupalsite.com
Status: Closed (fixed) » Active

perhaps making this a global redirect, instead of just a root index.php redirect would be the way to go