- This topic has 3 replies, 3 voices, and was last updated 14 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Protect everything… Force login right away.
Tagged: login, Password Protection
How can I force a login right away? I don’t the users to see anything until they login…
If you want site wide password protection so visitors see a login prompt as soon as they enter the URL of your site in the browser then you will have to do it through the “.htaccess” file. There is a WordPress plugin for this:
http://wordpress.org/extend/plugins/askapache-password-protect/
Or you can do it manually by creating a .htpasswd file and attaching it to your .htaccess file. Here is a step by step tutorial for it:
http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
Be careful with this plugin. I have installed this and runs only the tests, nothing change. Now i can´t access my website, only the home ist active. All other pages are not found when i try to access.
Don´t know how to fix that. Many work (days of work) is now lost:-(
Hmmm.. I didn’t know that the “askapache-password-protect” plugin could do this… that plugin is a well known plugin.
Remember, any time a plugin gives your grief and you can’t even log into your WordPress dashboard, you can just log into your site through FTP then rename the folder of that plugin to something random and it will automatically deactivate the plugin and your site should get back to normal.