Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

looking at my Apache access.log I see that crawlers tend to get old versions of pages and documents, like:

119.63.196.86 - - [10/Jun/2011:10:36:31 +0200] "GET /wiki/News?version=14 HTTP/1.1" 200 6073 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"

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
add comment

1 Answer 1

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
add comment

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.