PDA

View Full Version : Any ideas why analytics is showing index.php/index.php/


David White
6th March 2010, 11:57
Checked my stats recently and can't figure out why my analytics are showing hits on a page which does not exist. It is displaying index.php/index.php/ at the end of my domain and I can't figure out what I might of done to make this happen.

Any ideas folks?

PipeTen-Carl
6th March 2010, 13:29
It sounds like your site uses mod_rewrite to pass traffic back to the index.php (wordpress, etc commonly use this method). I would imagine you have a link somewhere (internally or externally) which has an incorrect href and causing the index.php to be applied to the URL twice.

advertiserbay co.uk/index.php/index.php/ for example does load an error page (with status 404) so Google will count it as a hit.

David White
6th March 2010, 13:32
It sounds like your site uses mod_rewrite to pass traffic back to the index.php (wordpress, etc commonly use this method). I would imagine you have a link somewhere (internally or externally) which has an incorrect href and causing the index.php to be applied to the URL twice.

advertiserbay co.uk/index.php/index.php/ for example does load an error page (with status 404) so Google will count it as a hit.

Cheers Carl, now starts the search for the link :|

PipeTen-Carl
6th March 2010, 13:38
There's a few tools you can use to spider your site (in a google like way) and find the 404 links, Google is probably the best place to search as I don't have any non-Linux recommendations.