Server Fault is a question and answer site for system and network administrators. 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

looking at my Apache access.log I see that crawlers tend to get old versions of pages and documents, like: - - [10/Jun/2011:10:36:31 +0200] "GET /wiki/News?version=14 HTTP/1.1" 200 6073 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +"

I'd like them not to append the ?version=x suffix to URLs, so that they only get the most recent contents.

Is there a way to do this via the robots.txt file (or other mechanisms that I don't know?

share|improve this question

If you are using trac out of the box then these pages have both NOINDEX and NOFOLLOW on them so much as they will get crawled they won't be indexed.

share|improve this answer

Your Answer


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.