For putting the web authentication we always use the .htaccess or apache configuration file. For removing the web auth from folder you need put following code in .htaccess file.
How to remove the AuthType Basic
<Directory /var/www/html/> #AuthType Basic #AuthName "By Invitation Only" #AuthUserFile /etc/httpd/passwd/passwords #Require user wpapi #Require valid-user </Directory> <Directory /var/www/html/> AuthType None Require all granted Satisfy Any </Directory>
without directory use the following code.
#AuthType Basic
#AuthName “By Invitation Only”
#AuthUserFile /etc/httpd/passwd/passwords
#Require user wpapi
#Require valid-user
AuthType None
Require all granted
Satisfy Any