Hello, a recent search on google for my link, preprod.prolectronic.ch, showed that google already referenced my site, while I have not added the google analytics and googe webmaster tools codes yet to this site.
How can I temporarily prevent google from getting access to this link until I put the website live?

Recommended Answers

Use a robots.txt file and disallow all. You can also add the robots meta tag to your html head to prevent archiving.

Jump to Post

All 4 Replies

Use a robots.txt file and disallow all. You can also add the robots meta tag to your html head to prevent archiving.

Using robots.txt works and google will immediately (well... pretty quick) remove the pages from the search results. Same thing happened to me and I used this approach.

thanks for the tips

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.