mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: SEO/AEO/GEO improvements for AI crawlers and search engines
This commit is contained in:
18
netlify.toml
18
netlify.toml
@@ -49,6 +49,24 @@
|
||||
path = "/*"
|
||||
function = "botMeta"
|
||||
|
||||
# Security and SEO headers
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
X-Frame-Options = "DENY"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
X-XSS-Protection = "1; mode=block"
|
||||
Referrer-Policy = "strict-origin-when-cross-origin"
|
||||
Link = "</llms.txt>; rel=\"author\""
|
||||
|
||||
# Raw markdown files with proper content-type
|
||||
[[headers]]
|
||||
for = "/raw/*.md"
|
||||
[headers.values]
|
||||
Content-Type = "text/markdown; charset=utf-8"
|
||||
Access-Control-Allow-Origin = "*"
|
||||
X-Robots-Tag = "noindex"
|
||||
|
||||
[context.production.environment]
|
||||
NODE_ENV = "production"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user