Add basic restrictive robots.txt file to opac
I don't need Google and MSN looking at every view of every title in my catalog. So I'll ask all search engine robots to leave the OPAC alone.
This commit is contained in:
parent
32698f217a
commit
6822d69d95
|
|
@ -261,6 +261,7 @@ my $target_map = {
|
|||
'./errors' => {target => 'INTRANET_CGI_DIR'},
|
||||
'./koha-tmpl/intranet-tmpl' => {target => 'INTRANET_TMPL_DIR', trimdir => -1},
|
||||
'./koha-tmpl/opac-tmpl' => {target => 'OPAC_TMPL_DIR', trimdir => -1},
|
||||
'./koha-tmpl/robots.txt' => {target => 'OPAC_WWW_DIR', trimdir => -1},
|
||||
'./kohaversion.pl' => 'INTRANET_CGI_DIR',
|
||||
'./labels' => 'INTRANET_CGI_DIR',
|
||||
'./mainpage.pl' => 'INTRANET_CGI_DIR',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
# go away
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
|
||||
Loading…
Reference in New Issue