xref: /webtrees/resources/views/robots-txt.phtml (revision d0bad8bec2f5ef3b08dbbde2f0780c89f2e7f106)
1# robots.txt for <?= $base_url ?>
2
3<?php if ($base_path !== ''): ?>
4# CAUTION!  This robots.txt needs to be copied to the root folder.
5<?php endif ?>
6
7User-agent: *
8Disallow: <?= $base_path ?>/admin
9Disallow: <?= $base_path ?>/manager
10Disallow: <?= $base_path ?>/editor
11Disallow: <?= $base_path ?>/account
12Crawl-delay: 10
13
14<?php if ($sitemap_url !== ''): ?>
15
16Sitemap: <?= $sitemap_url ?>
17<?php endif ?>
18