User Agent Blocker Plugin
Block robots using it's User-Agent in .htaccess
Block bad robots, unwanted robots, unwanted users or crawler from your site by it’s User-Agent using .htaccess.
Installation
- In your WordPress admin panel, go to Plugins > New Plugin, search for “User Agent Blocker” and click “Install now”. Alternatively, download the plugin and upload the contents of user-agent-blocker.zip to your plugins directory, which may be in /wp-content/plugins/.
- Activate the plugin Google Trends Widget through the ‘Plugins’ menu in WordPress.
- Go to Tools > User Agent Blocker and write the user-agent that you want to block in textarea and save changes
Screenshots
User Agent Blocker dashboard area.
FAQ
I accidentally entered the wrong user-agent so that I could not access my website, what should I do?
If you accidentally enter the wrong user-agent so that you cannot access your page, then you must open the .htaccess file that is in your domain folder and delete all code that starts from # BEGIN USER AGENT BLOCKER
until # END USER AGENT BLOCKER
, save, and reload your page.
The User-Agent that I want to block does not exist in the table you provide, what should I do?
I provide some popular user-agents that might help you, but, if you can not find the user-agent that you need, you have to do google by yourself.
Changelog