Welcome to WebmasterWorld Guest from

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Homepage has split Pagerank



2:47 pm on Nov 19, 2008 (gmt 0)

5+ Year Member


I've seen this discussed in webmasterworld before but couldn't find the thread.

My domain.com and domain.com/index.php are both indexed by google. Each has a different Pagerank, which I think is because I have used domain.com/index.php in some of my internal links.

Can anyone point me to the subject to resolve this? I think it had something to do with redirects..? I have just changed my internal links to domain.com/



3:40 pm on Nov 19, 2008 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

There isn't just one thread on the topic, Tom, but a search over these forums for topics like "canonical url" "duplicate url" or even "duplicate content" will turn up loads of discussion.

Basically, you need to use a permanent redirect to redirect any existing index or anchor to the canonical resource. This can happen for not only the problem you are experiencing with the index page, but also with the domain (www.example.com versus example.com) as well as uppercase/lowercase URIs (www.example.com/dir/mypage.htm versus www.example.com/dir/MyPage.htm)

Some related threads to get you started (pay close attention to the Matt Cutts of Google link):
trailing slashes and duplicate content [webmasterworld.com]
Are upper- and lower-case URLs the same page? [webmasterworld.com]
http:// and https:// - Duplicate Content? [webmasterworld.com]


4:53 pm on Nov 19, 2008 (gmt 0)

5+ Year Member

Thanks Coopster,

I found that very useful, especially the Matt Cutts blog.

So basically I am going to make sure all my links point to mydomain.com/

But to clean up the existing duplicate page I'm a bit unsure. There seems to be a lot of different ways of writing the htaccess, I guess because the problem is different for various people.

It seems like htaccess is the best way to solve the problem? I found this in another thread which seems to suite my case:

# Parse .html and .inc files for server-side includes
AddHandler server-parsed .html .inc
# Set up to enable mod_rewrite
Options +FollowSymlinks +Includes All -indexes
RewriteEngine on
# Redirect requests for index.html in any directory to "/" in the same directory
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+/)?index\.html\ HTTP
RewriteRule ^(.+/)?index\.html$ http://www.example.com/$1 [R=301,L]
# Redirect requests for resources in non-www domains to same resources in www domain
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

So would replacing the 'html' with 'php', and 'example' with 'mydoamin' have the desired effect? I guess I should learn about htaccess, I haven't used it before...



6:31 pm on Nov 19, 2008 (gmt 0)

5+ Year Member

I think there could be only one reason that you used inbound campaigns (incomming links) for both (www.greenwidgets.com and www.greenwidgets.com/index.php).


7:39 pm on Nov 19, 2008 (gmt 0)

5+ Year Member

sorry I don't get it? I only linked to index.php in internal links, any links from other sites is linked to root


11:08 am on Nov 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

So would replacing the 'html' with 'php', and 'example' with 'mydoamin' have the desired effect?


I only linked to index.php in internal links

That's where you created the problem, I and many here always link to




Featured Threads

Hot Threads This Week

Hot Threads This Month