Forum Moderators: mack
http:/ /mydomain.com/forum/index.php?
And Googlebot is crawling URLs that look like this:
http:/ /mydomain.com/forum//index.php?
And my server is giving a 200 OK code for both URLs. I think this might be causing duplicate penalties but I have no idea why my server isn't returning an error. Do I fix this with htaccess?
Edit to add: I did find a slash at the end of the Board URL setup in the admin panel, and removed it. This may remove the double slash from this point forward, but now I need to stop Googlebot from doing it.
[edited by: AndyA at 3:16 am (utc) on Sep. 26, 2006]
I found this code in another thread here at WebmasterWorld:
RewriteCond %{REQUEST_URI} ^(.*)//+(.*)
RewriteRule .* /%1/$2 [R=301,L]
It's supposed to remove the double slashes from deeper folders, but doesn't seem to work on my site.