Skip to content

Commit

Permalink
Fix Disallow syntax in robots.txt (#4972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon48 authored and fisharebest committed Mar 31, 2024
1 parent 4c96e13 commit 6703ee8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions resources/views/robots-txt.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ 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
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

Expand Down

0 comments on commit 6703ee8

Please sign in to comment.