Hey, I current redirect a bunch of countries to another site by using the following htaccess settings:
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|IQ|NG|IR|SA|AG|MY|ID|CL|KW|AE|TR|RU|BR)$
RewriteRule ^(.*)$ Proxy Sites [L]
I found a few of my sites were being redirected to juvos.com via google. For example, sidemart.com, unblockfacebook.com, and many more.
Example: http://www.google.com/search?hl=en&q...&aq=f&oq=&aqi=
This sucks for SEO purposes...but it may explain why juvos is ranking so well, lol. All those backlinks coming in that I intended for other sites.
So it seems Google is crawling my site from those countries that are being redirected.
What I did is changed it to:
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
# Redirect one country
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !googlebot¦Msnbot¦Slurp¦Teoma¦^$ [NC]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|IQ|NG|IR|SA|AG|MY|ID|CL|KW|AE|TR|RU|BR)$
RewriteRule ^(.*)$ Proxy Sites [L]
You'll notice the "RewriteCond %{HTTP_USER_AGENT} !googlebot¦Msnbot¦Slurp¦Teoma¦^$ [NC]" line to exempt googlebot and other common bots from getting redirected. It's been a week or two and I haven't seen any changes in Google's results. Any htaccess guru's able to confirm this works? Am I doing something wrong? I haven't found a proxy in those countries that I can change my useragent on, so I haven't been able to test. Any thoughts, ideas?
Thanks,
-nux


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks