WordPress.org

Ready to get started?Download WordPress

Forums

I would like to hide my site from the public until it is completely ready (2 posts)

  1. zander101
    Member
    Posted 4 years ago #

    Like my title suggests, I have an incomplete site and I don't want to have traffic towards my site that will never come back because of its lack of content. So, I've looked around, and I'm sorry if this question is posted somewhere else as well as here, and I was wondering somebody could tell me if my request is possible, and if it is, how do I do it?

    Thanks,
    Zander

  2. Shane G
    Member
    Posted 4 years ago #

    Hi,

    I suggest there are 2 tricks to complete your requirement..

    1) Set your index page [like index.php] as site is currently under construction..and work as your temporary index page [index1.php] and complete the site..after completion remove index.php and rename the index1.php to index.php

    2) You can also set deny all from htaccess file and set allow only for your IP address as example code here:

    <LIMIT GET>
    order deny,allow
    deny from all
    allow from xx.xx.xx.xx
    </LIMIT>

    [spam link moderated]

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic