homepage Welcome to WebmasterWorld Guest from 54.166.62.226
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
Google Analytics reporting duplicate meta?
duplicate for / and /index.php
Emsu

5+ Year Member



 
Msg#: 3707665 posted 9:03 pm on Jul 25, 2008 (gmt 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.

 

JamieBrown

5+ Year Member



 
Msg#: 3707665 posted 9:01 am on Jul 29, 2008 (gmt 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!

MindTwist

5+ Year Member



 
Msg#: 3707665 posted 10:42 pm on Aug 18, 2008 (gmt 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]

seodreamer

5+ Year Member



 
Msg#: 3707665 posted 11:39 am on Aug 19, 2008 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved