1dc270d8cSGreg Roach<?php 2dc270d8cSGreg Roach 3dc270d8cSGreg Roach/** 4dc270d8cSGreg Roach * @var string $base_path 5dc270d8cSGreg Roach * @var string $base_url 6dc270d8cSGreg Roach * @var string $sitemap_url 7dc270d8cSGreg Roach */ 8dc270d8cSGreg Roach 9dc270d8cSGreg Roach?> 10d0bad8beSGreg Roach# robots.txt for <?= $base_url ?> 11d0bad8beSGreg Roach 12d0bad8beSGreg Roach<?php if ($base_path !== '') : ?> 13d0bad8beSGreg Roach# CAUTION! This robots.txt needs to be copied to the root folder. 14d0bad8beSGreg Roach<?php endif ?> 15d0bad8beSGreg Roach 16*ffa287a1SGreg Roach<?php foreach ($bad_user_agents as $bad_user_agent): ?> 17*ffa287a1SGreg RoachUser-agent: <?= $bad_user_agent ?> 18*ffa287a1SGreg Roach 19*ffa287a1SGreg Roach<?php endforeach ?> 20*ffa287a1SGreg RoachDisallow: / 21*ffa287a1SGreg Roach 22d0bad8beSGreg RoachUser-agent: * 23d0bad8beSGreg RoachDisallow: <?= $base_path ?>/admin 24d0bad8beSGreg RoachDisallow: <?= $base_path ?>/manager 25d0bad8beSGreg RoachDisallow: <?= $base_path ?>/editor 26d0bad8beSGreg RoachDisallow: <?= $base_path ?>/account 27d0bad8beSGreg RoachCrawl-delay: 10 28d0bad8beSGreg Roach 29d0bad8beSGreg Roach<?php if ($sitemap_url !== '') : ?> 30d0bad8beSGreg RoachSitemap: <?= $sitemap_url ?> 31d0bad8beSGreg Roach<?php endif ?> 32