Jump to content

Recommended Posts

Posted

Is there a way to hide your development site from search engines? Or is it a simple as adding the following code to the header?

<meta name="robots" content="noindex">
Posted

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

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
×
×
  • Create New...