Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
Google Analytics shows index.php URLs - duplicate problem? corepartner
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 :)
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
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
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
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: 188.8.131.52 #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
Yet again, try to see what googlebot sees and you can do this via your GWT... indyank
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
in GA? 2) Are you seeing this only in GA or both GWT and GA?