I am trying to create a new site but don't want it to be visible to the public until its complete. Is there some way to make it invisible/inactive to the public but available for me to see it as I make edits?
I am trying to create a new site but don't want it to be visible to the public until its complete. Is there some way to make it invisible/inactive to the public but available for me to see it as I make edits?
I'm a caveman so I hit it with a club, try adding something like this to the top of your index file..
if ($_SERVER['REMOTE_ADDR']) !='127.0.0.1'){
exit();
}
putting your own IP in of course
@Dewed :-)
@saraphotography - you could also use one of these plugins
- http://wordpress.org/extend/plugins/maintenance-mode/
- http://wordpress.org/extend/plugins/wp-maintenance-mode/
- http://wordpress.org/extend/plugins/vinta-construction/screenshots/
- http://wordpress.org/extend/plugins/accessqontrol/
etc
@sara: Stay with one thread, read the docs for Absolute Privacy, see that is also can block RSS, and also look in Dashboard/Settings/Privacy to block Google.
This topic has been closed to new replies.