Search code examples
wordpresshttp-redirectcloaking

Wordpress: cloaking links


I am cloaking my affiliate link in wordpress and I don't want my user to see it in the status bar or something so is there a way for me to go to a page like www.mysite.com/my-redirect.php?p=foo without me having to create a page or post? or is there a better way?

My redirect.php file will do the redirection after the user lands to this file.

I am using the latest version.


Solution

  • The best way is to create a masked link, which is a unique link that appear to be embedded into your internal link structure, but really is an offsite redirect. A masked link looks something like http://www.myblog.com/recommendeds/wp-traffic-tools/

    There are a couple of commercial solutions including:
    WP Traffic Tools
    Eclipse Link Cloaker
    WP Link Engine

    And I believe there are some free tools around but due to all the starch in the topic they are not available in the Wordpress Plugin Database, but are available elsewhere. PlanetOzh I believe has a free one floating around.