HTTP Digest Authentication
This plugin adds an additional layer of protection for the wp-login.php page using HTTP Digest Authentication with the PHP header() function. So it doesn’t require configuring web server files like .htaccess or…
Consider an alternative
HTTP Digest Authentication shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 4/5 and was last updated 9 years ago, and scores 31/100 on our health check.
- Small user base (10+ active installs)
- No update in 9 years
- Only tested up to WordPress 4.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 HTTP Digest Authentication stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| auth | >100 |
| authenticate | >100 |
| hacking | #94 |
| http digest | >100 |
| login | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4 from 5 reviews
About HTTP Digest Authentication
From the official readme · v1.2.1Description
This plugin adds an additional layer of protection for the wp-login.php page using HTTP Digest Authentication with the PHP header() function.
So it doesn’t require configuring web server files like .htaccess or .htdigest and works on all web hosting environments.
Important: If you already have a plugin which does HTTP Authentication please deactivate it before activating this plugin. Similarly if you have configured your web server to do HTTP authentication on the wp-login.php file please remove it before using this plugin.
If you are using FastCGI PHP this plugin may keep prompting for the credentials even if you enter the right pair, in this case use the following in your .htaccess file
<IfModule mod_setenvif.c>
SetEnvIfNoCase ^Authorization$ "(.+)" PHP_AUTH_DIGEST=$1
</IfModule>
Advantages of HTTP Digest Authentication
- Digest Authentication is very much safer than HTTP Basic Authentication whose credentials can be easily decoded with a base64 decoder.
- From Wikipedia on HTTP Basic Authentication:
The BA (Basic Authentication) mechanism provides no confidentiality protection for the transmitted credentials. They are merely encoded with BASE64 in transit, but not encrypted or hashed in any way.
- Digest Authentication on the other hand uses MD5 on the credentials making it “one way”
- Uses server and client nonces to prevent replay attacks
Features of the HTTP Digest Auth plugin
- Works using PHP header() function and doesn’t require modification of service config files (like .htaccess, nginx.conf etc)
- Supports HTTP credentials for each WordPress user
- Clears the HTTP Digest credentials when the user logs out of WordPress (more on this in the FAQ)
- Verifies if both the HTTP and WordPress credentials are of the same user (this is the default behavior and can be changed)
- Works on all major Web Servers (Tested on Apache, Nginx and Lighttpd)
Plugin Behavior
- When this plugin is activated for the first time all WordPress users will have the following Digest credentials
Username: <WordPress username>
Password: password
This can be changed from Users > Your Profile. - After activating this plugin for the first time you’ll be prompted for HTTP credentials when you logout
- Similarly if you change your HTTP username or password you’ll be prompted for this when you logout
Available languages
- English
- Serbo-Croatian by Borisa Djuraskovic
The HTTP Digest Authentication Plugin official homepage.
Installation
- Unzip and upload the
http-digest-authfolder to the/wp-content/plugins/directory. - Activate the HTTP Digest Authentication plugin through the ‘Plugins’ menu in WordPress.
- Configure a HTTP username/password by going to
Users > Your Profilepage. - You’ll be prompted for these credentials when you logout after activating the plugin for the first time.
Changelog
1.2.1
- 3rd September 2014
- Removed
line-heightstyling on input boxes
1.2
- 26th May 2014
- Fixed bug that allowed logging in with empty credentials
- Added Serbo-Croatian language, props Borisa Djuraskovic
1.1
- 22nd March 2014
- Reduced repetitive code with inheritance
.htaccessrules for FastCGI PHP
1.0
- 16th October 2013
- Initial version
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 HTTP Digest Authentication alternatives
All auth plugins →FAQ
HTTP Digest Authentication: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is HTTP Digest Authentication free?
Yes. HTTP Digest Authentication is free to download and use from the official WordPress.org plugin directory.
Is HTTP Digest Authentication safe to use in 2026?
HTTP Digest Authentication shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 4/5 and was last updated 9 years ago, and scores 31/100 on our health check.
How many websites use HTTP Digest Authentication?
HTTP Digest Authentication is active on 10+ WordPress websites and has been downloaded 5,332 times since it launched in October 2013. It was downloaded 59 times in the last 30 days.
Does HTTP Digest Authentication work with WordPress 7.1?
HTTP Digest Authentication is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was HTTP Digest Authentication last updated?
The latest version, 1.2.1, was released on November 25, 2017 (9 years ago).
Who makes HTTP Digest Authentication?
HTTP Digest Authentication is developed and maintained by Jesin A.
What are the best alternatives to HTTP Digest Authentication?
The most popular alternatives to HTTP Digest Authentication are authLdap (4K+ installs), WP BASIC Auth (3K+ installs) and WP Cron HTTP Auth (1K+ 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





