How To Disable WordPress Comments By Referers?

You can disable your website comments by referers which means you can ban visitors from some websites from viewing or adding comments to your website’s posts, pages etc.

How to disable comments by referer?

Disable Comments By Referer is the new WordPress plugin that lets you selectively disable comments for visitors coming from certain websites (e.g. reddit).

Install and activate the plugin then follow the given steps:

  1. Upon activation visit your admin area Dashboard -> Settings -> Discussion page
  2. Scroll down to ‘Referer Blacklist for Comments’ section (added at the very bottom of the page).
  3. Type the a comma-separated bare hostnames, (ex:, in the given text area as shown in following given screenshot:

That’s all. Save your settings and you are done. How it works?

If a visitor’s HTTP referer matches to one of the hosts you’ve blacklisted then the your post will look like as comments have been disabled on your website, neither existing comments nor the new comment form is displayed.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.