Just like any other website owner (myself included) you probably hate ad block browser pluginsâ€¦
Advertising has always been one of the most straightforward ways of monetizing a website, but these days itâ€™s starting to get awfully difficult to display some ads and not have them blocked by one of those plugins.
And itâ€™s not that I hate them entirely. To be honest, I use them when browsing the internet, so I donâ€™t have to see all the popups and whatnots. However, when it comes to my own sites, itâ€™s a completely different thing…
You may say that such a two-sided opinion is kind of hypocritical of me, but hey â€¦ Iâ€™m sure Iâ€™m not alone on this one.
So, just by accident Iâ€™ve come across a way to display ads and not get them blocked.
First things first. This wonâ€™t work with AdSense.
But it does work on most other networks and all individual ads (where the advertiser gives you a piece of embed code to include in your site).
The trick is simple: You have to host the ads yourself (on your own server).
Hereâ€™s how to do it.
Letâ€™s start with the standard embed code you usually get from your advertiser. Hereâ€™s an example:
<a href=”http://wpwebhost.com/affiliate/therestoftheafflink” target=”_blank”><img border=”0″ src=”http://wpwebhost.com/affiliate/banners/somefile.gif” width=”125″ height=”125″ alt=””></a>
The example above is from wpwebhost and their hosting affiliate program. However, other embed codes are very similar to this. Thereâ€™s always a link and an image.
Now, do the following:
- Take your affiliate link (the one after the â€œhref=â€) and put it through Pretty Link or other similar plugin. It will allow you to redirect the affiliate link through your own domain, making it seem like itâ€™s an internal link.
- Follow the image link and download the image.
- Rename the image to something that seems like itâ€™s not an ad.
- Upload the image to your site through the WordPress Media Library.
- Customize the embed code to include your new link and image.
- Place it on your site.
Iâ€™m 100% certain that ad block plugins wonâ€™t consider that an ad. And even if the user decides to add a custom filter they wonâ€™t be able to block it effectively anyway because theyâ€™d have to block every image file on your site.
Fin. Now your ads are ad block resistant.
Suck it, ad block plugins!