how do i block people from seeing my website

Associate
Joined
10 Jan 2006
Posts
483
I am in the process of building a website but do not want it to be built in public - i am doing it on wordpress

how can i make it so when somebody types in my web address they do not get the "work in progress"?
 
Create an htaccess and htpasswd file as said above. The PHP code will need to be placed in a header file or on each file on the website.

The fastest method is htpasswd by far!
 
Just build it offline is the best way. Building on a live server is not good practice IMO.

Either install XAMP like most, or if you'd rather do it the hard way (like me) then download vmware player, install ubuntu server on it and set up a LAMP stack on that, along with ftp, and do it that way. Personally I like doing it this way as it allows to to write all my scripts in Windows stored in my Dropbox, then transfer across with the ftp client built into dreamweaver when I'm ready to test it.
 
usbwebserver is great for offline dev, really simple to.

Only issue I've had is that they've just removed SMTP from it :(
 
Back
Top Bottom