WordPress blocks Affiliate Links? (Close but no cigar)

iframes, WordPress, affiliate networks

One of the difficulties with wordpress is the security restrictions which blocks iframes. Thus, including this iframe:

<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=cafeencounnet-21&o=2&p=20&l=ez&f=ifr&f=ifr"></iframe>

may result in a blank space thus:
Empty Space!
instead of :

You could have run afoul of one of these gotchas:

  • If you're wordpressing on a hosted service, security restrictions may simply stop you doing it. Not much you can do about that except move.
  • You may have AdBlock or some other ad blocker switched on in your browser – and hence block your own links! Right click on the page and see if you have 'Block an ad on this page' and "Don't run on this domain" in your menu. Choose "Don't run on this domain" to exclude your own site from adblocker. Similarly with other adblock technology.

Why would you want to have iframes on your site? If you're an Amazon affiliate, or part of some other affiliate network (google affiliate network, doubleclick and a host of others) then your link to the network is usually via an iframe or a javascript tag.

One thought on “WordPress blocks Affiliate Links? (Close but no cigar)”

  1. Excellent blog you’ve got here.. It’s difficult to find excellent writing like
    yours nowadays. I honestly appreciate people like you!
    Take care!!

Comments are closed.

WordPress blocks Affiliate Links? (Close…

by cafeenco read it in 1 min
1