User-agent: *
Allow: /
Disallow: /review.html
Disallow: /review-jobs.html
Disallow: /review-photos.html
Disallow: /review-chatter.html
Disallow: /admin
Disallow: /photos
Disallow: /tackleshop
Disallow: /review-listings.html
Disallow: /listings.html
Disallow: /events-admin.html
Disallow: /scanner-status.html
Disallow: /community-listings/manage
Disallow: /partners/
Disallow: /go/
# These six are the public, read-only feeds the pages below render themselves
# from. A crawler that cannot fetch them renders an error state instead of the
# page's actual content -- on 2026-09-19 that had Google classifying /events/
# as a Soft 404 and keeping it out of search entirely, with /directory/,
# /garage-sales/, /fishing-leaderboard/, /lost-pets/ and /jobs/ built the same
# way. Each one is already public and unauthenticated, and each returns an
# explicit output allowlist -- publicCommunityListing() and publicJobPosting()
# exist precisely so submitter names, emails and exact pet locations stay out
# of these responses. Allowing them here exposes nothing that the rendered
# page does not already show a visitor.
#
# The blanket Disallow below still covers everything else under /api/,
# including the token-gated /admin surfaces. Longest-match wins for Google and
# Bing, so these Allow lines beat it regardless of order.
Allow: /api/events
Allow: /api/live-music
Allow: /api/listings
Allow: /api/community-listings/public
Allow: /api/jobs/public
Allow: /api/fishing-leaderboard
Disallow: /api/
# ⚠️ These three exist because an Allow above is a PREFIX of a token-gated
# route, and longest-match would otherwise hand it back to crawlers:
# "Allow: /api/events" also matches /api/events/admin, and
# "Allow: /api/listings" also matches /api/listings/admin and
# /api/listings/claim/admin. Being longer still, these win over both.
# Adding an Allow above without checking `app.get('/api/...')`
# for admin routes underneath it will silently re-open one of these.
# (/api/fishing-leaderboard/image and /api/listings/:id/photos/:file are the
# only other sub-paths, and both are public images meant to be crawled.)
Disallow: /api/events/admin
Disallow: /api/listings/admin
Disallow: /api/listings/claim
Sitemap: https://bigbearready.com/sitemap.xml