What's WP
Find Everything Related to WordPress - Best Tutoriasl on WordPress!
How to Block Ads in WordPress Website

How to Block Ads in WordPress Website

As more and more people have realized the benefits of marketing online, advertisement now is ubiquitous on the websites. To be honest, having ads, especially spam ads, on your site may annoy your readers to some extent. As investigated, 76% of Internet users hate to see the advertisement when they are browsing a website to find the valuable or useful information. In this case, how to block ads in your WordPress website? We have introduced an easy way in the following with the help of Google AdSense.

Step One: Figure out the Ad Types You Want to Block

block adsToo many ads may pull away site visitors, but this doesn’t mean that you need to block all the advertisements appeared on your website. Therefore, before starting clearing up the site, you’d better figure out what kinds of ads you want to deter. If you have no idea about this, here, we’d like to give you some suggestions.

  • General Ads: This kind of advertisement promotes some common things that the majority of people have no interests. Facebook ad, for instance, is a typical representative within this field. This is because Facebook is popular among online users, so people are less likely to have any interests on its advertisements. In addition to Facebook ads, there are also some other ads that are unattractive to website readers, so they’ better to be blocked.
  • Competitors’ Ads: To be honest, with the huge development of Internet, the competition among websites online is fierce. In this case, you’d better eliminate all the possibilities for your competitors’ ads appearing on your website. After all, these ads may pique your readers’ attention thus rob your loyal visitors away from you.
  • Product Ads: As surveyed, people dislike this kind of advertisements the most. Product marketing has been flooded into our daily life, so people generally ignore these ads at anywhere. In this case, there is no need to put product ads on your website, unless these products are highly relevant to your content or niche.
  • Affiliate Related Ads: If you are an affiliate marketer, then you’d better avoid this kind of advertisements as they may reduce your commission earning. For example, if you are an Amazon affiliate and have written some nice reviews for a specific book for promotion, you can generate profits with the affiliate links. However, if people click the ad for this book on your post, you will miss out some sales.

Step Two: Find out the URLs of the Blocked Ads

After deciding to block which kind of ads, the next step is to find out the ad URL. If it is a text ad, then you can get the URL from the links under the headline. If it is an image ad or a banner ad, then you need to hover your mouse over it with a right click, and hit on the option of “copy link address”. Next, open your text editor and paste it to a blank space, then you can get the URL.

link address

Step Three: Block the Ads

Now, you have finished all the preparing takes, so it’s time for ads blocking. As we need to make use of Google AdSense, so the first thing is to login to this platform with your account. After logging in, you can see an “Allow & Block Ads” tab in the navigation. Simply click on it to see the screen like the image displayed in the following.

block ads

In the blank space under the Advertiser URLs tab, you can paste the URLs you have collected previously. After clicking the Block URLs button, these annoying ads will be driven away from your site immediately.


Susan Rose is a freelance writer who has a deep knowledge about WordPress. She loves everything related to website building since the freshman year at Christopher Newport University, and loves to share her experience with people all over all the world. In the daily life, Susan loves detective novels as it can train her logical thinking and creativity.