fix(seo): add HSTS headers, clean crawler directives, and exclude /links from sitemap
This commit is contained in:
1 parent
3c0654e030
commit
33a3f997e6
4 files changed
+8
-16
No files matched your search
@@ -0,0 +1,5 @@
|
||||
/*
|
||||
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
||||
X-Content-Type-Options: nosniff
|
||||
X-Frame-Options: SAMEORIGIN
|
||||
Referrer-Policy: strict-origin-when-cross-origin
|
||||
@@ -14,20 +14,5 @@ User-agent: Googlebot-Image
|
||||
Disallow: /gallery
|
||||
Disallow: /gallery/
|
||||
|
||||
# Allow specific crawlers
|
||||
User-agent: Googlebot
|
||||
Allow: /
|
||||
Disallow: /api/
|
||||
Disallow: /.vercel/
|
||||
Disallow: /.astro/
|
||||
Disallow: /maintenance
|
||||
Disallow: /gallery
|
||||
Disallow: /gallery/
|
||||
|
||||
User-agent: Bingbot
|
||||
Allow: /
|
||||
Disallow: /gallery
|
||||
Disallow: /gallery/
|
||||
|
||||
# Reference to sitemap
|
||||
Sitemap: https://crischarles.com/sitemap-index.xml
|
||||
Reference in new issue
Block a user