1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hiding

Discussion in 'XenForo Pre-Sales Questions' started by NinaMcI, Sep 11, 2014.

  1. NinaMcI

    NinaMcI Active Member

    Hi. How do you keep a site hidden from public view whilst you're building it?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can password protect it with .htaccess.
     
  3. DennisSkov

    DennisSkov Active Member

    Install it on localhost.
     
  4. NinaMcI

    NinaMcI Active Member

    Thanks
     
  5. Glockie

    Glockie Well-Known Member

    Or do what I do - install an HTML file , index.html - with the css files and a phrase etc, then point your domain preference to .html and not php.
    It's so easy to do, it'll take seconds. :)
     
  6. Dan Hawkins

    Dan Hawkins Active Member

    This is a good and reliable way of doing it... Depending how server savvy are you are, you could alternatively password apache. (If that's what you are using- it's what we currently do to keep the bots out)
     
  7. Glockie

    Glockie Well-Known Member

    Absolutely ignore my previous post on this....

    Previously you could get around it by adding an index.html and a <no follow> to robots.txt
    You would make the html page the default page and work on index.php

    Now the reason I am mentioning this is if in case anyone comes across the post I made. A while ago that method worked, however with SEO on the forefront of most web dev's mind (aesthetics to one side) sites and forums are made for SEO.

    Xenforo is clearly well written for SEO as even with my no allow - index.html, I've not submitted any links - the site has been crawled and displayed perfectly in Google - although I didn't want that, it shows that XF is excellent for SEO..

    Don't use the index trick, it no longer works. Htaccess is the only way to do it...
    Sorry but I had to correct myself and explain why just incase anyone does do it.

    Only way to be sure. ;)
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    You can of course revoke all view permissions for guests, which will stop anything being crawled and indexed.
     
    Glockie likes this.
  9. Glockie

    Glockie Well-Known Member

    Oh, excellent.....
    Will try that, no indexing will take place?
    That's worth a go then for now.
     

Share This Page