by cbnet
5 replies
I am in the process of building my site on WP. I do not want public to see my site untill it is in presentable shape. How I can do this.

Regards..........cbnet
#making #site
  • Profile picture of the author Nigel Booker
    It's easy if your using cPanel Control Panel - just go to 'Password Protect Directories' under the security settings & set a password on your root directory. Anyone going to the page will be asked to enter a password to continue but you'll be able to login & get your site setup.
    {{ DiscussionBoard.errors[5881643].message }}
  • Profile picture of the author cbnet
    And how I remove this restriction later.
    {{ DiscussionBoard.errors[5881706].message }}
    • Profile picture of the author Nigel Booker
      Originally Posted by cbnet View Post

      And how I remove this restriction later.
      Just go back to the same place in cPanel & delete the password protection. Give it a try.
      {{ DiscussionBoard.errors[5881809].message }}
      • Profile picture of the author hajro
        Add to your .htaccess file this piece of code:

        PHP Code:
        order allow,deny
        deny from all
        allow from YOUR IP HERE 


        Upload it on ROOT directory of your website.
        {{ DiscussionBoard.errors[5882514].message }}
  • Profile picture of the author ddshosting
    You can also go to Settings->Privacy->Ask search engines not to index this site. (select this one).

    This way, your site will be live but Google and other search engines should ignore it.
    Signature
    SEO My SEO - Visit for tips and valuable long-term search engine optimization techniques.
    Web Hosting and SEO Services in the UK - Business class web hosting and domain registration.
    {{ DiscussionBoard.errors[5882523].message }}

Trending Topics