Must login to show website

Hi!

Is it possible in wordpress to have a loginpage.
So clients cant see the website, if they are not logged in ?

Need to do this, so i can setup the site. Before customers can
see the new site.

Please help
LVL 2
team2005Asked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
Yes, this is very possible and you can do it in a variety of ways.  The simplest is to use .htaccess authentication at the root level of the site:

http://www.javascriptkit.com/howto/htaccess3.shtml

If you follow the instructions above you will password protect the whole site.  
0
 
team2005Author Commented:
Hi!

This .htpasswd file
Please, how to set password and username ?
0
 
Jason C. LevineNo oneCommented:
If you read through the tutorial I linked to, you would see how to do it.  There are tools to help you.

http://www.tools.dynamicdrive.com/password/
0
 
team2005Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.