Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Index page duplicate issue

         

followgreg

11:04 pm on Mar 16, 2009 (gmt 0)

10+ Year Member



I just recently noticed that Google has indexed my example.com/index.php as duplicate from my homepage.
Now they are crawling index.php quite frequently.

The http://www.example.com/ has a PR of 4 and the http://www.example.com/index.php has a PR of 2.

what is going on? I thought that Google had this sort of issues fixed for ages?

Should I 301 redirect the index.php?

tedster

2:35 am on Mar 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If Google had only one style of site to work with, this kind of canonical issue would definitely have been sorted long ago - but there is a wide variety out there, and index.php is not technically required to be the same as the domain root.

Yes, place the 301 redirect. Your rankings may even improve.

g1smd

2:36 am on Mar 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There's example code to redirect that and other common names here in the forum.

Make sure you link to URLs that do not include the index filenname within.

Robert Charlton

5:07 am on Mar 17, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



...example code

Take a look at the Hot Topics [webmasterworld.com] section, pinned to the top of the Google Search forum home page, and look at the Duplicate Content section.

This is the thread that has the code...

Domain Root vs. index.html [webmasterworld.com] - yet another kind of duplicate

The last post on the thread covers index.php.

followgreg

9:49 am on Mar 17, 2009 (gmt 0)

10+ Year Member



Thanks for the info.
even though just as you guys said, there are many types of index pages, one may think that Google would fix such crucial thing before they start getting into our private lives as they do - It's not like duplicate issues haven't been around for a while /// ok rant stops here I'm gonna do my mod_rewrite homework now :)