Demo site - block access and Google?

Soldato
Joined
6 Jan 2006
Posts
3,374
Location
Newcastle upon Tyne
I'm developing a new site on another domain that I own, it uses the same content from my main site so I'd like to block Google so I dont get punished for duplicated content. Whats the easiest way to do this with Wordpress?

Also, can I somehow password protect the site so that only I can see it? Its unlikely anyone would stumble accross it but as its just a test site no one needs to see it bar me.

Many thanks.
 
Last edited:
Caporegime
Joined
19 May 2004
Posts
31,635
Location
Nordfriesland, Germany
If you have access to control the hosting yourself, you can setup password protection on the directory itself pretty easily through CPanel or whatever.

But, honestly, if it's just a test site why stick it on the internet at all? Just host it locally using ddev or xampp.
 
Soldato
Joined
18 Oct 2002
Posts
14,032
Location
Sandwich, Kent
Back
Top Bottom