This article explains the cause of access being denied to your WordPress site and how to resolve it.
Cause
Access to your site was denied because BASIC authentication is enabled.
Solution
Please disable BASIC authentication using one of the following methods.
-
Disable the Basic Authentication plugin:
From the WordPress admin panel, locate the Basic Authentication plugin and disable it.
-
Remove the Basic Authentication settings from the.htaccess file:
Delete the Basic Authentication settings written in the.htaccess file.
Note: Be careful when editing the.htaccess file. Incorrect edits may affect how your site works.
The following is an example of
BASIC authenticationsettings in the .htaccess file. Please delete these lines.AuthType Basic AuthName "Restricted Area" AuthUserFile /path/to/.htpasswd Require valid-user
[IMAGE_PLACEHOLDER_1]
Important: The
/path/to/.htpasswdin the example above has been replaced with an actual path. Please modify it to match your environment.[IMAGE_PLACEHOLDER_2]