Skip to content

Commit b56cc08

Browse files
nehagupclaude
andcommitted
fix: allow crawling of docs v1.0.0 and v2.0.0
Remove Disallow rules from robots.txt and noindex headers from netlify.toml for old doc versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Neha Gupta <gneha21@yahoo.in>
1 parent 15fb298 commit b56cc08

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

netlify.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@
99
## Note: if you are looking for Redirects
1010
# they have been moved to /static/_redirects to make it more manageable - swyx
1111

12-
# noindex headers for deprecated doc versions
13-
[[headers]]
14-
for = "/docs/1.0.0/*"
15-
[headers.values]
16-
X-Robots-Tag = "noindex, nofollow"
17-
18-
[[headers]]
19-
for = "/docs/2.0.0/*"
20-
[headers.values]
21-
X-Robots-Tag = "noindex, nofollow"
22-
2312
# Security headers for all pages
2413
[[headers]]
2514
for = "/*"

static/robots.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ User-agent: *
77
Allow: /
88
Crawl-delay: 5
99
Disallow: /cgi-bin/
10-
Disallow: /docs/1.0.0/
11-
Disallow: /docs/2.0.0/
1210

1311
# Sitemap
1412
Sitemap: https://keploy.io/docs/sitemap.xml

0 commit comments

Comments
 (0)