Welcome to WebmasterWorld Guest from 54.162.232.51

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Google Analytics reporting duplicate meta?

duplicate for / and /index.php

     
9:03 pm on Jul 25, 2008 (gmt 0)

New User

5+ Year Member

joined:July 23, 2008
posts:1
votes: 0


Obviously since / and /index.php use the same files, the meta tags would be the same but I was wondering if there is anything I should do about it. Is it ok for Google to think they are duplicate? Just being safe. Thanks.
9:01 am on July 29, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:June 28, 2005
posts:80
votes: 0


From an analytics point of view I don't think there's any danger, but it would probably be nice for you to have that data all in one place? It would make reporting much easier - esp. more complex stuff like path analysis.

From an SEO point of view it would be much better for you to only have one version of your home page. I would be looking to 301 redirect any requests for /index.php to /. You could do that quite easily using .htaccess.

And that would also fix your analytics issue!

10:42 pm on Aug 18, 2008 (gmt 0)

New User

5+ Year Member

joined:Nov 13, 2007
posts:29
votes: 0


I have the following on my htaccess. I do not really remember where I got it from, but it basically makes [domain.com...] become [domain.com...]

RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ [domain.com...] [R=permanent,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ [domain.com...] [R=301,L]

11:39 am on Aug 19, 2008 (gmt 0)

New User

5+ Year Member

joined:Aug 13, 2008
posts:18
votes: 0


You also need to consider your inbound links. Do people link to [domain.com...] or [domain.com?...]

Its always best not to have two instances because Google will need to prioritise one of them or maybe put it in the supplementary index

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members