1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hiding Affiliate Links with clocking,javascript and httacces?

Discussion in 'Black Hat SEO' started by moonlighsunligh, Nov 9, 2011.

  1. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    I want to hide my affiliate links.Google shouldn't be able follow/see them at all.

    I wonder if that is a good plan. Let me know is there any way to have throuble with google using that.

    1) Clock them - Domain/product_folder/item_id.html
    2) Javascript link in form: <script language="javascript"> <!-- document.write("<a href=\"domain/product_folder/product_id.html\">Anchor</a>"); //--> </script>
    3) Block google through htaccess from accessing folder product_folder
     
  2. drogon

    drogon Elite Member Premium Member

    Joined:
    May 28, 2010
    Messages:
    2,107
    Likes Received:
    1,004
    Just create a page eg yourdomain.com/download and then redirect that page to your affiliate link. There are plugins for this if using Wordpress such as 'redirect all types'.

    Next make sure that page is excluded from your sitemap and then add a no follow to the actual links you place on your site. eg below:

    Code:
    <p style="text-align: center;"><strong><a style="color: blue; text-decoration: underline;" href="http://yourdomain.org/download" rel="nofollow" target="_self">Click Here To Download</a></strong></p>
     
  3. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    Thanks but i already done that and i think problems is that google follow redirected link so it identifies my affiliate link.

    So i need to block google from following this redirect.
     
  4. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    Block the folder that the page resides in from the search engines using robots.txt.

    Another method of hiding/redrecting affiliate links is to modify the .htaccess file (if the site is hosted on an apaches server - most are).
     
    Last edited: Nov 10, 2011
  5. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    Is it a smart idea to block search engines to access the redirection folder using the htacess.

    Actually I could even block everything which http referer isn't my domain.