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!