User Agent Blocker

May 31, 2019

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

  1. 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/.
  2. Activate the plugin Google Trends Widget through the ‘Plugins’ menu in WordPress.
  3. Go to Tools > User Agent Blocker and write the user-agent that you want to block in textarea and save changes

Screenshots

  1. User Agent Blocker dashboard area.

    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

1.0.2

  • Released: may 30, 2019

1.0.1

  • Released: may 30, 2019

1.0.0

  • Released: may 29, 2019

Details

  • Version: 1.0.2
  • Active installations: 100
  • WordPress Version: 4.6
  • Tested up to: 5.2.21
  • PHP Version: 5.6

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars