Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Disallow syntax in robots.txt #4972

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading