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

robots 2 electric boogaloo #57

Merged
merged 2 commits into from
Oct 22, 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
17 changes: 12 additions & 5 deletions src/app/robots.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Block all crawlers from accessing the site
# Block all crawlers from accessing /products
User-agent: *
Disallow: /
Disallow: /products

# Allow Twitter to fetch Open Graph data
# Allow Twitter to fetch Open Graph data from /products
User-agent: Twitterbot
Allow: /products
Allow: /

# Allow Facebook to fetch Open Graph data
# Allow Facebook to fetch Open Graph data from /products
User-agent: facebookexternalhit
Allow: /products
Allow: /

# Allow LinkedIn to fetch Open Graph data
# Allow LinkedIn to fetch Open Graph data from /products
User-agent: LinkedInBot
Allow: /products
Allow: /

# Allow crawling of the homepage for all crawlers
User-agent: *
Allow: /