Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update robots.txt on the caml.inria.fr server #6766

Closed
vicuna opened this issue Jan 30, 2015 · 1 comment
Closed

Update robots.txt on the caml.inria.fr server #6766

vicuna opened this issue Jan 30, 2015 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jan 30, 2015

Original bug ID: 6766
Reporter: braibant
Status: closed (set by @damiendoligez on 2015-02-24T21:13:03Z)
Resolution: fixed
Priority: normal
Severity: trivial
Category: web site

Bug description

Randomly googling for the OCaml manual sometimes yield results that are not the most recent ones. Following what is written here http://www.robotstxt.org/robotstxt.html
it suffices to put the following robots.txt file at the root of the
caml.inria.fr server (so that it is served as caml.inria.fr/robots.txt).

The allow directive is described here:
http://en.wikipedia.org/wiki/Robots_exclusion_standard#Allow_directive
Alternatively, one could only disallow some older versions of the manual to be indexed. (Note that not being indexed does not prevent finding them through the website.)

$ cat robots.txt
User-agent: *
Disallow: /cgi-bin/viewvc.cgi/
User-agent: *
Disallow: /statistics/
Allow: pub/docs/manual-ocaml/
Allow: pub/docs/manual-caml-light/
Disallow: /pub/docs/

Steps to reproduce

For instance, today, googling for

ocaml interfacing with c

yields

http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual033.html

rather than

http://caml.inria.fr/pub/docs/manual-ocaml/intfc.html

@vicuna
Copy link
Author

vicuna commented Feb 24, 2015

Comment author: @damiendoligez

Done. We'll see how long it takes for Google to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant