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

Add proxy rule for robots.txt #380

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Add proxy rule for robots.txt #380

merged 2 commits into from
Oct 2, 2024

Conversation

zwolf
Copy link
Member

@zwolf zwolf commented Sep 27, 2024

Proxy www.zooniverse.org/robots.txt to static.zooniverse.org/robots.txt. This allows the www robots.txt to be permissive, while the robots.txt served by the FEM apps can remain restrictive to prevent crawling of other subdomains.

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Sep 28, 2024

This adds a permissive robots exclusion rule to both www.zooniverse.org and static.zooniverse.org, by applying the same /robots.txt to both domains.

If you set up nginx to return 404 for www.zooniverse.org/robots.txt, that would allow bots to crawl www.zooniverse.org, without being tied to the exclusion rules for static.zooniverse.org.

static.zooniverse.org is already indexed by Google, so that difference is probably academic.
https://www.google.com/gasearch?q=site:static.zooniverse.org

@zwolf zwolf merged commit 73b13ff into master Oct 2, 2024
2 checks passed
@zwolf zwolf deleted the www-robots-txt branch October 2, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants