Dave333
Member
Posted 4 years ago #
I can't find any info on this anywhere so I hope someone can help me here. I have set up a new domain name and hosting account. I have installed WordPress in the root directory. I am starting to create a CMS website but would prefer that my work be hidden from view until I am ready to go live.
I have created temporary index.html page, sort of a "Coming Soon" message that I would prefer visitors to the site see but putting that in the root folder next to index.php sort screwed things up (spinning its wheels then a timeout) so I removed it.
Is there an easy way to make my site hidden until I choose to go live?
Thanks.
StrangeAttractor
Member
Posted 4 years ago #
What I do is put the entire site under password protection (using cPanel or whatever you use to administrate the backend of your server/hosting site) Not a function of WordPress, but of your server administration.
But you might also be interested in the maintenance-mode plugin, which puts up a notice, but allows you to view the site normally.
Use .htaccess and .htpasswd. This website will make them for you automatically, then you just need to upload them via ftp.
http://tools.dynamicdrive.com/password/
Dave333
Member
Posted 4 years ago #
Thanks guys. I played with the Cpanel method for ages and couldn't get it to let me. I changed users, passwords, deleted htaccess files and tried again. Then I gave up on that method as I was locked out of my site. So I dleleted the htacceess files and was allowed access again.
So then I went on to the maintenance mode plugin that you recommended StrangeAttractor. This is exactly what I needed. Simple and easy to use fixed it in minutes.
hallsofmentezuma, thanks for that link, at the bottom of the page is a great informative link to info on .htaccess files.