-
Notifications
You must be signed in to change notification settings - Fork 259
/
README.robots
28 lines (22 loc) · 1.14 KB
/
README.robots
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
The robots.txt file.
Search engines, when looking for sites to show in search results, will first
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
your Koha install periodically.