< Back to Switches

Hiding Affiliate URLs

Suppose you're using affiliate links in your directory to make money, and don't want visitors to be able to see that it's an affiliate link when they look at the details page or mouseover the URL. If you use WSN's Admin Panel -> Settings -> Switches -> "Affiliate links" option and enter your affiliate URLs in the affiliate link field that appears when this switch is on, the URL cloaking will be automatic.

If for some reason you need to manually cloak a link, you can use
<a href="link.php?id={LINKID}&action=direct">Visit {LINKTITLE} website</a>