![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/webtrees/resources/views/ |
Upload File : |
<?php declare(strict_types=1); /** * @var array<string> $bad_user_agents * @var string $base_path * @var string $base_url * @var string $sitemap_url * @var iterable<string> $trees */ ?> # robots.txt for <?= $base_url ?> <?php if ($base_path !== '') : ?> # CAUTION! This robots.txt needs to be copied to the root folder. <?php endif ?> <?php foreach ($bad_user_agents as $bad_user_agent) : ?> User-agent: <?= $bad_user_agent ?> <?php endforeach ?> Disallow: / User-agent: * Disallow: <?= $base_path ?>/admin Disallow: <?= $base_path ?>/manager Disallow: <?= $base_path ?>/editor Disallow: <?= $base_path ?>/account <?php foreach ($trees as $tree) : ?> Disallow: <?= $base_path ?>/tree/<?= $tree ?>/ancestors Disallow: <?= $base_path ?>/tree/<?= $tree ?>/calendar Disallow: <?= $base_path ?>/tree/<?= $tree ?>/compact Disallow: <?= $base_path ?>/tree/<?= $tree ?>/descendants Disallow: <?= $base_path ?>/tree/<?= $tree ?>/family-book Disallow: <?= $base_path ?>/tree/<?= $tree ?>/family-list Disallow: <?= $base_path ?>/tree/<?= $tree ?>/fan-chart Disallow: <?= $base_path ?>/tree/<?= $tree ?>/hourglass Disallow: <?= $base_path ?>/tree/<?= $tree ?>/individual-list Disallow: <?= $base_path ?>/tree/<?= $tree ?>/lifespans Disallow: <?= $base_path ?>/tree/<?= $tree ?>/pedigree Disallow: <?= $base_path ?>/tree/<?= $tree ?>/report Disallow: <?= $base_path ?>/tree/<?= $tree ?>/timeline <?php endforeach ?> Crawl-delay: 10 <?php if ($sitemap_url !== '') : ?> Sitemap: <?= $sitemap_url ?> <?php endif ?>