Jump to content

Hide dev site form google


ttttim
 Share

Recommended Posts

Hey Tim,

There are several options:

  1. Install a module like Protected Mode or Maintenance Mode. This way bots won't crawl into your website since you have to be logged in.
  2. Use a robots.txt or the meta tags as you describe.

I prefer option 1 since it's a matter of keeping everyone out except clients with an username and password. The disadvantage of option 2 is that you will have to remember to remove both when deploying to live.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...