Fix robots.txt and sitemap issues from code review
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m32s
🚀 Deploy / ʦ TypeScript (pull_request) Successful in 1m23s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 49s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m32s
🚀 Deploy / ʦ TypeScript (pull_request) Successful in 1m23s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 49s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
- Point Sitemap directive at /sitemap.xml (not .gz) so crawlers receive plain XML without needing Content-Encoding headers - Add Disallow: /leagues/ to block all auth-gated league routes - Gitignore public/sitemap.xml* so they are always generated fresh at build time rather than serving a stale committed snapshot Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2978ba787d
commit
8e73296067
4 changed files with 6 additions and 40 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -24,3 +24,7 @@ storybook-static
|
||||||
|
|
||||||
# Clerk migration export — contains password hashes, never commit
|
# Clerk migration export — contains password hashes, never commit
|
||||||
exported_users.csv
|
exported_users.csv
|
||||||
|
|
||||||
|
# Generated at build time by scripts/generate-sitemap.mjs
|
||||||
|
/public/sitemap.xml
|
||||||
|
/public/sitemap.xml.gz
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,9 @@ Allow: /
|
||||||
|
|
||||||
Disallow: /admin/
|
Disallow: /admin/
|
||||||
Disallow: /api/
|
Disallow: /api/
|
||||||
|
Disallow: /leagues/
|
||||||
Disallow: /onboarding
|
Disallow: /onboarding
|
||||||
Disallow: /settings
|
Disallow: /settings
|
||||||
Disallow: /user-profile
|
Disallow: /user-profile
|
||||||
|
|
||||||
Sitemap: https://brackt.com/sitemap.xml.gz
|
Sitemap: https://brackt.com/sitemap.xml
|
||||||
|
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>1.0</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/how-to-play</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>monthly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/rules</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>monthly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/sports</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.8</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/support</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>monthly</changefreq>
|
|
||||||
<priority>0.6</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://brackt.com/privacy-policy</loc>
|
|
||||||
<lastmod>2026-05-25</lastmod>
|
|
||||||
<changefreq>yearly</changefreq>
|
|
||||||
<priority>0.4</priority>
|
|
||||||
</url>
|
|
||||||
</urlset>
|
|
||||||
Binary file not shown.
Loading…
Add table
Reference in a new issue