PDA

View Full Version : Google url's that end in !!b_id=17


Darkon
12-07-2004, 12:25 PM
I've read a little bit about this somewhere, but couldn't find anything about it over here.

Google spiders our site and when you look back at them in the listings on Google's SE, you'll see that -pretty often- there is a !!b_id=17 (or whatever number, doesn't really matter) behind it.. and the result of that is that it'll go to an error page.

example: www.yourdomain.com/index.html?src=s394&vid=35!!b_id=17
This will go to an error page, while....
www.yourdomain.com/index.html?src=s394&vid=35
will go to the page you wanted.

Is there any way to solve this? I've heard it's Google's problem.. but since it's their problem, it's also ours. :(

I've tried to let it cut off the url, but it won't help.. it will not even go to the page to cut it off, but directly to the errorpage....

seomike
12-07-2004, 02:42 PM
If you're on apache put this in your htaccess file

RewriteEngine On
RewriteBase /

RewriteCond %{QUERY_STRING} ^(.*)\&b_id$
RewriteRule ^([^/])\.html$ /$1.html%1 [L]


I haven't tested it but this in theory will take the screwed up google query string and process it normally before any 404 errors are set off.