htaccess protect
htaccess protect - Protect your wordpress login or admin pages with password.
Consider an alternative
htaccess protect shows warning signs in 2026 — compare the alternatives below before installing. It runs on 700+ sites, is rated 3.7/5 and was last updated 5 years ago, and scores 34/100 on our health check.
- Small user base (700+ active installs)
- No update in 4 years
- Only tested up to WordPress 5.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where htaccess protect stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| htaccess | >100 |
| htpasswd | #11 |
| protect | >100 |
| protection | >100 |
| security | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.7 from 6 reviews
About htaccess protect
From the official readme · v0.7.0Description
Using the password protection will give you extra security layer of protection from brute force hacking attacks. Additionally, it’s also an easy way to password protect your entire site, without needing to create separate WordPress users for each visitor.
When you enable the password protection, the user won’t be able to see anything – not even see the protected page – until he/she inserts the username/password. You can password protect the whole website, including the administrator pages; you can password protect the administrator pages; or you can password protect the WordPress login page.
The plugin options include:
- Enabling/disabling the password protection to wp-login.php, WordPress admin pages.
- Modifying the existing users: you can change any .htaccess user’s password and remove the users.
- Create/modify an unlimited number of .htaccess users;
- Protect your whole site, making it accessible to only those who have the .htaccess user.
This plugin is originally was based on .htaccess Site Access Control. That plugin was working fine but it was abandoned for years and not compatible with the latest WordPress. Most part of the plugin were refactored and translated.
Installation
- Upload the plugin files to the
/wp-content/plugins/zotya-htaccess-protectdirectory, or install the plugin through the WordPress plugins screen directly - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
Settings -> htaccess protectscreen
Changelog
0.7.0
- Add WordPress 5.9 support
0.6.0
- Add WordPress 5.8 support
0.5.0
- Add WordPress 5.7 support
0.4.0
- Add WordPress 5.6 support
0.3.0
- Add WordPress 5.5 support
0.2.0
- Add authorization fix option if you have loopback issues
- refactor remove function
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.
Best htaccess protect alternatives
All htaccess plugins →FAQ
htaccess protect: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is htaccess protect free?
Yes. htaccess protect is free to download and use from the official WordPress.org plugin directory.
Is htaccess protect safe to use in 2026?
htaccess protect shows warning signs in 2026 — compare the alternatives below before installing. It runs on 700+ sites, is rated 3.7/5 and was last updated 5 years ago, and scores 34/100 on our health check.
How many websites use htaccess protect?
htaccess protect is active on 700+ WordPress websites and has been downloaded 11,760 times since it launched in May 2020. It was downloaded 263 times in the last 30 days.
Does htaccess protect work with WordPress 7.1?
htaccess protect is officially tested up to WordPress 5.9.21, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does htaccess protect need?
htaccess protect requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was htaccess protect last updated?
The latest version, 0.7.0, was released on January 23, 2022 (5 years ago).
Who makes htaccess protect?
htaccess protect is developed and maintained by zoltanlaczko.
What are the best alternatives to htaccess protect?
The most popular alternatives to htaccess protect are Redirection (2M+ installs), Htaccess File Editor (40K+ installs) and Spider Blocker (10K+ installs).
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
