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"?
 
Associate
Joined
23 Jan 2012
Posts
4
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!
 
Soldato
Joined
26 Jun 2009
Posts
3,023
Location
Sheffield
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.
 
Back
Top Bottom