User Agent Blocker
Block bad robots, unwanted robots, unwanted users or crawler from your site by it’s User-Agent using .htaccess.
Consider an alternative
User Agent Blocker shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites and was last updated 8 years ago, and scores 25/100 on our health check.
- Small user base (60+ active installs)
- Very few reviews so far
- No update in 7 years
- Only tested up to WordPress 5.2 (latest is 7.1)
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where User Agent Blocker stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| bad robot | #61 |
| block | >100 |
| htaccess | >100 |
| user agent | >100 |
Version adoption
Share of active sites per release.
About User Agent Blocker
From the official readme · v1.0.2Description
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
Changelog
Security improvement : Using Nonces to verify the request Security improvement : Validate and Remove special character that can make an Server error 500 and/or Server error 403! Security improvement : Sanitize the input before processing
1.0.2
- Released: may 30, 2019
1.0.1
- Released: may 30, 2019
1.0.0
- Released: may 29, 2019
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
FAQ
User Agent Blocker: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is User Agent Blocker free?
Yes. User Agent Blocker is free to download and use from the official WordPress.org plugin directory.
Is User Agent Blocker safe to use in 2026?
User Agent Blocker shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites and was last updated 8 years ago, and scores 25/100 on our health check.
How many websites use User Agent Blocker?
User Agent Blocker is active on 60+ WordPress websites and has been downloaded 2,594 times since it launched in May 2019. It was downloaded 138 times in the last 30 days.
Does User Agent Blocker work with WordPress 7.1?
User Agent Blocker is officially tested up to WordPress 5.2.31, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does User Agent Blocker need?
User Agent Blocker requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was User Agent Blocker last updated?
The latest version, 1.0.2, was released on May 31, 2019 (8 years ago).
Who makes User Agent Blocker?
User Agent Blocker is developed and maintained by Adhitya Rachman.
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

