IndianWebPortal.com

Something Different In Linux

Home » Uncategorized » password protect not working

password protect not working

Posted by Rishikesh Vispute Categories: Uncategorized

Problem : When wordpress is installed on main domain and you want to set the password to any directory which is under the public_html folder but when access it by using browser then the URL shows 404 error or not found error.

Solution : You need to add the following code in .htaccess files in which your password protect code is inserted.

 ErrorDocument 401 default

Done

 


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...