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

cloaking affiliate links with Javascript, Ajax and htaccess rewrite

Discussion in 'Cloaking and Content Generators' started by Beaker, Feb 15, 2013.

  1. Beaker

    Beaker Newbie

    Joined:
    Apr 26, 2012
    Messages:
    2
    Likes Received:
    1
    The main idea here is to hide an affiliate link (multiplied) on my site from Google and visitors using 3 levels of cloaking and trying to weight penalty if revealed.

    I'm working on a wordpress plugin to fake seeking of dating profiles based on geolocation (it's a total "revamp" of my sponsor tool that I find too crapy).
    The plugin shows a box in my sidebar with 9 thumbs with names & ages, a refresh button (to load new faces, it does really work using some cache on site) and a "city" link (based on GeoIP) but it loads after page load flag fires (or on user action). It makes an ajax call (via jQuery and external script) to display the box in my site sidebar adding code to DOM.
    That first step with Ajax is to not display any links in the source code page. Just few irelevent elements a box saying « I'm loading nice stuff for you dude, based on your location ».

    The third step is the usual link cloaking with htaccess to rewrite « friendly » on site urls to the affiliate one.
    And the second ? Well, I can't figure out yet which is the best option :

    1[SUP]st[/SUP] one is the best for cloaking I think but if discovered by Google I think it should catch penalties, what you think ?
    2[SUP]nd[/SUP] one is best to cheat on visitors.


    1)- The box appended has no hard coded href. All clickeable elements : thumbs, names, city... are redirected by jQuery using window.location and click event on elements. All Clicks fire a unique cloaked affiliate link.


    2)- the box has "real" href append by jQuery for each clickeable element but urls are all differents (eg: .../wk/?profil=8976546 for thumbs or
    .../wk/?city=paris). All links will redirect to the same affiliate link (via htaccess again). It's more "user friendly" to fake real seeking but that's a lot of links redirected to an unique url (as for each thumb displayed you have a fake profil url).

    3)- the box has 2 "real" href append by jQuery, one for the city and another one covering as a layer over all thumbs, names... those 2 links will redirect the same affiliate link. That's only 2 links (google friendly?) but it's much more like a classic ban when you hover elements. Refreshing faces can still be done.


    My english isn't very good so I hope you catch the idea and what I'm trying to do, you can ask me questions I will try to answer my best.
    My concern is trying to figure out which of those 3 options will better works for Google as for visitors. For now I'm sticking with option 2.
    Let me know what you think ?
    Thanks.