Results 1 to 2 of 2

Thread: unintentional results of redirecting with htaccess

Hybrid View

  1. #1

    unintentional results of redirecting with htaccess

    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
    RewriteRule ^(.*)$ Proxy Sites [L]

    I found a few of my sites were being redirected to via google. For example,,, and many more.


    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]
    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?

    Submit Your Proxies @

  2. ProxyLeech should help you find an HTTP proxy whichou can use to browse from those countries and test your redirecting code.

    I think it's funny what Juvos' listing looks like with the StumbleUpon toolbar loaded.
    Attached Images Attached Images
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

Similar Threads

  1. Replies: 12
    Last Post: 23 June, 2010, 04:31 AM
  2. Redirecting Category Pages Help...
    By Alex Fraiser in forum Promoting
    Replies: 2
    Last Post: 11 July, 2009, 13:21 PM
  3. Redirecting permalinks?
    By CoreyFreeman in forum Wordpress
    Replies: 1
    Last Post: 22 June, 2009, 09:46 AM
  4. Myspace redirecting to Google
    By Mr.Bill in forum Web Proxies
    Replies: 0
    Last Post: 29 May, 2009, 02:26 AM
  5. Help Redirecting Traffic
    By joel8520 in forum Web Proxies
    Replies: 16
    Last Post: 19 March, 2009, 18:36 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts