Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added the no-index tag for the google-bot, but it is kind of taking a long time to de-index some pages since I have over 100k pages I need to de-index lol :)))

What is the proper way to de-index pages using robots.txt?

Thanks!

Any idea how long should it take?

share|improve this question

Also check URL removal explained, Part I: URLs & directories

As that article suggests, you can remove directories (and whole sites) in Google's Webmaster Tools. This might be quicker than robots.txt initially, although you will need to use robots.txt as well.

Keep the noindex meta tag to avoid your page appearing at all in Google's index. A robots.txt only solution could still allow URL only links from appearing in the SERPS.

Using robots.txt to remove the "http://www.example.com/getridofthis/" directory...

User-agent: *
Disallow: /getridofthis/
share|improve this answer

Take a look at robotstxt.org has all the info you need.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.