Msg#: 4598494 posted 6:34 pm on Aug 1, 2013 (gmt 0)
I'm trying to fix an issue where pages of my site open with either correct
or incorrect double forward slash in the beginning of the file path:
Oddly enough, the second form is how GA sends me to my own pages from its reports. I can't figure out if it's a GA issue or something's terribly wrong with how Googlebot browses my site.
Anyhow, the site has a rather complicated .htaccess file and I've yet to find a rule that would satisfy all the other existing rules but successfully removed that extra forward slash. While working on it, I got to wonder if that even matters. It looked to me that the way this always happens with GA reports, perhaps Google takes a relaxed view on that extra slash that does not change anything. Perhaps they even delete it themselves before indexing, I'm not sure.
Does anyone see an issue with leaving that extra forward slash untouched and letting pages open on both versions of URL?
Msg#: 4598494 posted 11:04 pm on Aug 1, 2013 (gmt 0)
Thanks, JD. I already have rel=canonical on all content pages, so perhaps that's not such a big deal. I would still think it affects my crawling budget because bots need to read the same page twice, so I'm planning to get to the bottom of this eventually.
Msg#: 4598494 posted 11:15 pm on Aug 1, 2013 (gmt 0)
NP. One thing I thought of later is if your site is PHP driven it would be fairly easy to drop the redirect on the page(s) if one is requested with a // and totally bypass the .htaccess. (This is how I would do it if the .htaccess was giving me too much of a headache lol)