Skip to content

Commit

Permalink
Bug 6411 add another example to README.robots
Browse files Browse the repository at this point in the history
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
  • Loading branch information
KohaAloha authored and ranginui committed Jul 5, 2011
1 parent e653e8c commit 2e8fe36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.robots
Expand Up @@ -5,13 +5,23 @@ look for the file /robots.txt. If this file is found and has lines that apply
to them they will do as instructed. A very basic robots.txt follow as an
example:

-------------------------------------------
# go away
User-agent: *
Disallow: /
-------------------------------------------

This tells every search engine that cares (User-agent: *) to not index the site
(Disallow everything past /).

Another slightly more intelligent robots.txt file example allows for some bot indexing (good for your site in google, etc), but also stops your Koha from getting thrashing by ignoring URLs that cause heavy search load

-------------------------------------------
# do some indexing, but dont index search URLs
User-agent: *
Disallow: /cgi-bin/koha/opac-search.pl
-------------------------------------------

If you have installed Koha to /usr/local/koha3 then this file would be placed
in the directory /usr/local/koha3/opac/htdocs/. This should prevent search
engines from browsing every biblio record, and every view of each record, on
Expand Down

0 comments on commit 2e8fe36

Please sign in to comment.