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?
Install and activate the plugin then follow the given steps:
- Upon activation visit your admin area Dashboard -> Settings -> Discussion page
- Scroll down to ‘Referer Blacklist for Comments’ section (added at the very bottom of the page).
- Type the a comma-separated bare hostnames, (ex:
www.reddit.com, news.ycombinator.com.) 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.