Skip to content

Commit

Permalink
Merge pull request #57 from ethanniser/RhysSullivan-patch-2
Browse files Browse the repository at this point in the history
robots 2 electric boogaloo
  • Loading branch information
RhysSullivan authored Oct 22, 2024
2 parents 594e64a + 393bdcc commit f685659
Showing 1 changed file with 12 additions and 5 deletions.
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: /

0 comments on commit f685659

Please sign in to comment.