Title: Easy Basic Authentication – Add basic auth to site or admin area
Author: Matteo Enna
Published: <strong>Ọwẹ́wẹ̀  29, 2023</strong>
Last modified: Ọ̀pẹ  3, 2025

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/easy-basic-authentication/assets/banner-772x250.jpg?rev=3318919)

![](https://ps.w.org/easy-basic-authentication/assets/icon-256x256.jpg?rev=3294897)

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

 Láti ọwọ́ [Matteo Enna](https://profiles.wordpress.org/matteoenna/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/easy-basic-authentication.3.9.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/easy-basic-authentication/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/easy-basic-authentication/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/easy-basic-authentication/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/easy-basic-authentication/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/easy-basic-authentication/)

## Àpèjúwe

The Easy Basic Authentication plugin 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 authorized users.

**Try it on a free mock site: [click here](https://tastewp.org/plugins/easy-basic-authentication/)**

### 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 quickly 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 quickly and effectively. Only users
   with the correct credentials will be able to access this critical part of your
   site.
 * **Failed Access Logging:** The plugin keeps track of failed login attempts, helping
   you identify unauthorized access attempts. This is particularly useful for monitoring
   your siteÌtumọ̀ Yorùbá: ’s security.
 * **Access Log:** If you choose to enable this feature, Easy Basic Authentication
   allows you to log successful logins, providing a comprehensive overview of login
   activities on your site.
 * **Easy Management:** The pluginÌtumọ̀ Yorùbá: ’s intuitive interface makes it
   simple to manage 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 unauthorized access attempts. You can receive email 
   alerts 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 known users 
   or systems without requiring credentials, enhancing convenience while maintaining
   security.

Protect your WordPress site with basic authentication quickly and reliably. Easy
Basic Authentication gives you control to ensure that only authorized users can 
access your online resources. Maintain your siteÌtumọ̀ Yorùbá: ’s security and prevent
unwanted access today with Easy Basic Authentication.

### Usage

 * Visit the plugin settings page 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Ìtumọ̀ Yorùbá: ’re having trouble logging 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 plugin directory:**

    ```
    wp-content/plugins/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 beginning:

    ```
    #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 logged in, you can adjust the plugin settings as needed.

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

### GitHub Repository

You can find the source code and contribute to the project on GitHub: [Easy Basic Authentication on GitHub](https://github.com/Ellusu/easy-basic-authentication)

## Àwọn àwòrán ìbòjú

 * [[
 * [[
 * [[

## Ìgbéwọlẹ̀

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

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/21ff0831db7848092878dfffd85f518e33a5e49b9102435098bd2c365240085f?
s=60&d=retro&r=g)

### 󠀁[Works perfectly and improves site security without huge plugins](https://wordpress.org/support/topic/works-perfectly-and-improves-site-security-without-huge-plugins/)󠁿

 [ziordia68](https://profiles.wordpress.org/ziordia68/) Ọ̀wàrà 25, 2025

I found it easy to implement, and works perfectly. With it, I do not need those 
really big security plugins, just combine it with other small plugins like 2fa.

![](https://secure.gravatar.com/avatar/6db1864367d82cf4d4c9ede1a16acd3229428fbc21d7232fff901dc3ff4aa0f4?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2791/)󠁿

 [Nguyen Minh Hung](https://profiles.wordpress.org/nguyenminhhung/) Ọwẹ́wẹ̀ 10, 
2024 1 ìdáhùn

Works perfectly and doesnÌtumọ̀ Yorùbá: ’t require complicated configuration. Thank
you for creating this plugin.

![](https://secure.gravatar.com/avatar/b500c3b656d9821b23ba8ab8d032e9e91a32845f6eb16d01ac4eae0420de59d0?
s=60&d=retro&r=g)

### 󠀁[Bravo! Mille Grazie!](https://wordpress.org/support/topic/bravo-mille-grazie/)󠁿

 [James Joseph Finn](https://profiles.wordpress.org/jamesjosephfinn/) Òkúdù 25, 
2024 2 àwọn ìdáhùn

Ciao from an Italian-American. The plugin works flawlessly. Thank you for publishing
it. One question: After configuring the plugin, I was expecting to find a .htpasswd
file in the root directory; but apparently the plugin sets Basic Auth in a manner
different than the one IÌtumọ̀ Yorùbá: ’m familiar with. IÌtumọ̀ Yorùbá: ’m no backend
dev, but I always love to learn. IÌtumọ̀ Yorùbá: ’m wondering how this works under
the hood to implement Apache Basic Auth. Thank you again, paisano.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 3 ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Easy Basic Authentication – Add basic auth to site or admin area” jẹ́ ètò ìṣàmúlò
orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Matteo Enna ](https://profiles.wordpress.org/matteoenna/)
 *   [ ashkanahmadi ](https://profiles.wordpress.org/ashkanahmadi/)

A ti túmọ̀ “Easy Basic Authentication – Add basic auth to site or admin area” sí
àwọn èdè agbègbè 6. Ọpẹ́lọpẹ́ fún [àwọn atúmọ̀ èdè](https://translate.wordpress.org/projects/wp-plugins/easy-basic-authentication/contributors)
fún àwọn ìkópa wọn.

[Túmọ̀ “Easy Basic Authentication – Add basic auth to site or admin area” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/easy-basic-authentication)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/easy-basic-authentication/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/easy-basic-authentication/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/easy-basic-authentication/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/easy-basic-authentication/?limit=100&mode=stop_on_copy&format=rss).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **3.9.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 4 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **700+**
 *  Ẹ̀yà WordPress ** 5.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.9.4**
 *  Ẹ̀yà PHP ** 7.2.5 tàbí ju bẹ́ẹ̀ lọ **
 *  Àwọn èdè
 * [English (UK)](https://en-gb.wordpress.org/plugins/easy-basic-authentication/),
   [English (US)](https://wordpress.org/plugins/easy-basic-authentication/), [German](https://de.wordpress.org/plugins/easy-basic-authentication/),
   [German (Austria)](https://de-at.wordpress.org/plugins/easy-basic-authentication/),
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/easy-basic-authentication/),
   [Italian](https://it.wordpress.org/plugins/easy-basic-authentication/), àti [Spanish (Spain)](https://es.wordpress.org/plugins/easy-basic-authentication/).
 *  [Túmọ̀ sí èdè rẹ](https://translate.wordpress.org/projects/wp-plugins/easy-basic-authentication)
 * Àwọn àmì
 * [access-control](https://yor.wordpress.org/plugins/tags/access-control/)[authentication](https://yor.wordpress.org/plugins/tags/authentication/)
   [login](https://yor.wordpress.org/plugins/tags/login/)[security](https://yor.wordpress.org/plugins/tags/security/)
   [wordpress security](https://yor.wordpress.org/plugins/tags/wordpress-security/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/easy-basic-authentication/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/easy-basic-authentication/reviews/)

## Àwọn Olùkópa

 *   [ Matteo Enna ](https://profiles.wordpress.org/matteoenna/)
 *   [ ashkanahmadi ](https://profiles.wordpress.org/ashkanahmadi/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/easy-basic-authentication/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://www.paypal.me/matteoedev/2.55)