Welcome to WebmasterWorld Guest from 54.160.131.144

Message Too Old, No Replies

Google Analytics shows index.php URLs - duplicate problem?

     

corepartner

3:21 pm on Dec 27, 2010 (gmt 0)

5+ Year Member



Hello Guys,

I have a wordpress site and Its url structure is www.domain.com/post-name/

but on the Google Analytics, index.php is appending after every URL for example.

post-name/index.php
post-name-second/index.php

and when I add /index.php after any URL then it will redirect to the original URL that I have.

I am worried why Google Analytics is showing .index.php after every URL.

my other wordpress sites showed no issue like it, kindly help me to resolve it and let me know why this is happening.

Thanks :)

tedster

4:20 pm on Dec 27, 2010 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Here are some questions:

1. Do you get much traffic - especially Google Search traffic - that requests the "index.php" URL?

2. What happens in Google if you enter one of those "index.php" URLs directly into the search box? Do you get a result?

3. When you enter an "index.php" URL into the nav bar and get redirected, what http status is returned in the server header?

netmeg

5:42 pm on Dec 27, 2010 (gmt 0)

WebmasterWorld Senior Member netmeg is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I've seen those too on a Magento ecommerce install - but they only showed up in GA. I just figured I'd forgotten a redirect.

mhansen

5:55 pm on Dec 27, 2010 (gmt 0)

5+ Year Member



my other wordpress sites showed no issue like it,


I would probably jump into the .htaccess and have a look around. Compare it to other .htaccess on a site without the issue. It almost sounds like you have installed a plugin that modified your htaccess (cache, redirection, stats or click-tracking, etc) that made a change to your htaccess without you knowing it!

A basic htaccess should only have 7-10 lines for WordPress. Once you drop a cache or redirect-manager plugin, it can easily get out of control.

MH

corepartner

6:43 am on Dec 28, 2010 (gmt 0)

5+ Year Member



Hi Tedster, below are the answers of the questions. Please help me to solve this issue :)

1. Do you get much traffic - especially Google Search traffic - that requests the "index.php" URL?


I get the Google search traffic but I don't know how I can figure out which URL Google request, kindly explain.

I get to see the index.php URLs on the content section of the analytics.

2. What happens in Google if you enter one of those "index.php" URLs directly into the search box? Do you get a result?

If I enter in the Google http://www.domain.com/post-name/index.php then it returns the original URL that I have set up which is http://www.domain.com/post-name/

3. When you enter an "index.php" URL into the nav bar and get redirected, what http status is returned in the server header?


Current Date and Time: 2010-12-28T01:30:16-0700
User IP Address: 59.177.141.12

#1 Server Response: [careeroutlook.in...]
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Tue, 28 Dec 2010 06:30:40 GMT
Server: Apache
X-Pingback: [careeroutlook.in...]
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Tue, 28 Dec 2010 06:30:40 GMT
Location: [careeroutlook.in...]
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Redirect Target: [careeroutlook.in...]

#2 Server Response: [careeroutlook.in...]
The operation timed out

indyank

2:46 pm on Dec 28, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Yet again, try to see what googlebot sees and you can do this via your GWT...

indyank

2:51 pm on Dec 28, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



1) do you see both the versions for page in GA or is it just the index.php version.

i.e. do you see both
http://www.domain.com/post-name/index.php
and
http://www.domain.com/post-name/
in GA?

2) Are you seeing this only in GA or both GWT and GA?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month