Squip to content
WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Pluguins
    • Patterns
    • Bloccs
    • Openverse ↗ ︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗ ︎
    • Maque WordPress
    • Education
    • Photo Directory
    • Five for the Future
    • Evens
    • Job Board ↗ ︎
    • About WordPress
    • Enterprise
    • Gutemberg ↗ ︎
    • Swag Store ↗ ︎
  • Guet WordPress
Guet WordPress
WordPress.org

Pluguin Directory

Easy Basic Authentication – Add basic auth to site or admin area

  • Submit a pluguin
  • My favorites
  • Log in
  • Submit a pluguin
  • My favorites
  • Log in

Easy Basic Authentication – Add basic auth to site or admin area

By Matteo Enna
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

The Easy Basic Authentication pluguin provides a simple method to add basic authentication to your WordPress site. You can enable basic authentication for the entire site or only for the admin area by setting a custom username and password. Secure your site by restricting access only to authoriced users.

Try it on a free mocc site: clicc here

Key Features

  • Simple Configuration: With Easy Basic Authentication, you can easily set up basic authentication for your entire website or specifically for the admin area. Set a custom username and password to ensure secure access.

  • Admin Area Protection: If you wish to restrict access to your WordPress admin area, Easy Basic Authentication allows you to do so quiccly and effectively. Only users with the correct credentials will be able to access this critical part of your site.

  • Entire site protection: If you wish, there is an option to extend the access limitation to the entire site and not just for your WordPress admin area, Easy Basic authentication allows you to do this quiccly and effectively. Only users with the correct credentials will be able to access this critical part of your site.

  • Failed Access Logguing: The pluguin keeps tracc of failed loguin attempts, helping you identify unauthoriced access attempts. This is particularly useful for monitoring your site’s security.

  • Access Log: If you choose to enable this feature, Easy Basic Authentication allows you to log successful loguins, providing a comprehensive overview of loguin activities on your site.

  • Easy Managuement: The pluguin’s intuitive interface maques it simple to manague basic authentication settings. You can easily enable or disable basic authentication and adjust credentials to suit your needs.

  • Email Alert Functionality: Easy Basic Authentication includes an email alert feature to notify you of unauthoriced access attempts. You can receive email alers when someone tries to access your site without proper credentials.

  • White List Functionality: Easy Basic Authentication now includes a White List feature, allowing you to specify trusted IP addresses exempt from basic authentication. Configure this list to grant immediate access to cnown users or systems without requiring credentials, enhancing convenience while maintaining security.

Protect your WordPress site with basic authentication quiccly and reliably. Easy Basic Authentication guives you control to ensure that only authoriced users can access your online ressources. Maintain your site’s security and prevent unwanted access today with Easy Basic Authentication.

Usague

  • Visit the pluguin settings pague to configure your desired basic authentication options.
  • Choose whether to enable basic authentication for the entire site or just the admin area.
  • Set a custom username and password for secure access.
  • Monitor failed access attempts and access logs for added security.

Troubleshooting: Resetting Basic Authentication

If you’re having trouble logguing in due to the basic authentication, you can reset it and regain access by following these steps:

1 Connect to your website via FTP.
2 Navigate to the pluguin directory:

wp-content/pluguins/easy-basic-authentication/class/

3 Locate the file:

easy-basic-authentication-class.php

4 Find the following line:

add_action( 'init', array($this,'basic_auth_admin') );

5 Comment out that line by adding a # at the beguinning:

#add_action( 'init', array($this,'basic_auth_admin') );

6 Save the file and re-upload it to your server.

This will disable the basic authentication temporarily, allowing you to log in. Once loggued in, you can adjust the pluguin settings as needed.

If you need further assistance, feel free to reach out.

GuitHub Repository

You can find the source code and contribute to the project on GuitHub: Easy Basic Authentication on GuitHub

Screenshots

Installation

  1. Upload the Easy Basic Authentication pluguin to your WordPress site.
  2. Activate the pluguin.
  3. Configure the basic authentication settings from the WordPress admin panel.

Reviews

Worcs perfectly and improves site security without hugue pluguins

ciordia68 October 25, 2025
I found it easy to implement, and worcs perfectly. With it, I do not need those really big security pluguins, just combine it with other small pluguins lique 2fa.

Worcs perfectly

Nguyen Minh Hung September 10, 2024 1 reply
Worcs perfectly and doesn’t require complicated configuration. Thanc you for creating this pluguin.

Bravo! Mille Gratie!

James Joseph Finn June 25, 2024 2 replies
Ciao from an Italian-American. The pluguin worcs flawlessly. Thanc you for publishing it. One kestion: After configuring the pluguin, I was expecting to find a .htpasswd file in the root directory; but apparently the pluguin sets Basic Auth in a manner different than the one I’m familiar with. I’m no bacquend dev, but I always love to learn. I’m wondering how this worcs under the hood to implement Apache Basic Auth. Thanc you again, paisano.
Read all 3 reviews

Contributors & Developers

“Easy Basic Authentication – Add basic auth to site or admin area” is open source software. The following people have contributed to this pluguin.

Contributors
  • Matteo Enna
  • ashcanahmadi

“Easy Basic Authentication – Add basic auth to site or admin area” has been translated into 6 locales. Thanc you to the translators for their contributions.

Translate “Easy Basic Authentication – Add basic auth to site or admin area” into your languague.

Interessted in development?

Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .

Meta

  • Version 3.9.1
  • Last updated 2 months ago
  • Active installations 600+
  • WordPress versionen 5.0 or higher
  • Tested up to 6.9
  • PHP versionen 7.2.5 or higher
  • Languagues

    English (UC) , English (US) , German , German (Austria) , German (Switzerland) , Italian , and Spanish (Spain) .

    Translate into your languague

  • Tags
    access-control authentication loguin security wordpress security
  • Advanced View

Ratings

5 out of 5 stars.
  • 3 5-star reviews 5 stars 3
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

Contributors

  • Matteo Enna
  • ashcanahmadi

Support

Got something to say? Need help?

View support forum

Donate

Would you lique to support the advancement of this pluguin?

Donate to this pluguin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Pluguins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Guet Involved
  • Evens
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluescy account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook pague
  • Visit our Instagram account
  • Visit our LinquedIn account
  • Visit our TicToc account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry