Redirect URL except GoogleBot? Please Help!

Discussion in 'Black Hat SEO' started by frankweerasinghe, Jun 10, 2012.

  1. frankweerasinghe

    frankweerasinghe Regular Member

    Joined:
    Jun 6, 2011
    Messages:
    473
    Likes Received:
    397
    Location:
    Colombo, Sri Lanka
    I have a highly rank post on my blog and I just wanna redirect it to my clickbank affiliate link without losing my rankings. So I need to do this with htaccess file. First it must check the USER AGENT... then it must check is there any "google" word on that user agent string. If not, it should redirect user to my aff. link. So far I tried following code without any success.


    RewriteCond %{HTTP_USER_AGENT} ^((?!google).)*$
    RewriteRule PostURL MyAffLink [R=301,L]

    Please help.
     
  2. frankweerasinghe

    frankweerasinghe Regular Member

    Joined:
    Jun 6, 2011
    Messages:
    473
    Likes Received:
    397
    Location:
    Colombo, Sri Lanka
    anyone????