Must login to show website

Posted on 2011-04-26
Last Modified: 2012-05-11

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
Question by:team2005
    LVL 70

    Assisted Solution

    by:Jason C. Levine
    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:

    If you follow the instructions above you will password protect the whole site.  
    LVL 2

    Author Comment


    This .htpasswd file
    Please, how to set password and username ?
    LVL 70

    Expert Comment

    by:Jason C. Levine
    If you read through the tutorial I linked to, you would see how to do it.  There are tools to help you.
    LVL 31

    Accepted Solution

    LVL 2

    Author Closing Comment


    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    Who says nothing in life is free? is a freebie.'s downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
    I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
    The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following:…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now