- This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Can I Set Affiliate Banners to Automatically Include rel="nofollow"?
Tagged: no follow links, WP Affiliate
Is there a way to customize my banners so that they automatically include rel=”nofollow” links like the target=”_blank” attribute?
Yes, you can automatically add the “nofollow” parameter to all the affiliate ad codes. Please do the following:
open the “wp_aff_advanced_configs.php” file and search for the following line of code:
define(‘WP_AFFILIATE_ENABLE_NOFOLLOW_IN_AFFILIATE_ADS’, ‘0’);
Once you find it, change it to the following:
define(‘WP_AFFILIATE_ENABLE_NOFOLLOW_IN_AFFILIATE_ADS’, ‘1’);
That should add nofollow to all the ad codes that gets displayed to your affiliates in their affiliate area.