Hide Site from Being Indexed Until Ready to Launch

Permalink 1 user found helpful
How do I build a site in C5 but keep it hidden from the web crawlers that index pages until I'm ready to launch the site? I'm not sure how frequently new pages get indexed and am concerned that my site will get indexed before I have all the content loaded.

Thanks

Iain

iainsmith
 
adamjohnson replied on at Permalink Best Answer Reply
adamjohnson
Add this between your opening and closing <head> tags:

<meta name="robots" content="noindex,nofollow" /> <!-- CHANGE BEFORE GOING LIVE -->
iainsmith replied on at Permalink Reply
iainsmith
Thanks for the reply. Are you suggesting I insert this line on every page or just the home page?

Iain
12345j replied on at Permalink Reply
12345j
you should put in in header.php, that way it'll load automatically on every page.
Mnkras replied on at Permalink Reply
Mnkras
or even easier,
add this to the end of your robots.txt,
Disallow: /
olliephillips replied on at Permalink Reply
olliephillips
Agree with Mnkras, robots.txt is the way to do this.
atomhead replied on at Permalink Reply
Super easy to do, thanks. Would be nice if this was a toggle on the Dashboard.