Skip to content

Commit d330176

Browse files
committed
Revised robots.txt with proper exclusions and sitemap reference
1 parent dd4f644 commit d330176

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

static/robots.txt

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,22 @@
66
# www.robotstxt.org/
77

88
User-agent: *
9-
Disallow: *.jsonc$
10-
Disallow: *.json$
11-
Disallow: *.mjs$
12-
Disallow: *.js$
9+
10+
# Disallow dev and CI/CD artifacts
11+
Disallow: /tests/
12+
Disallow: /scripts/
13+
Disallow: /playwright-report/
14+
Disallow: /reports/
15+
Disallow: /coverage/
16+
Disallow: /build/
17+
Disallow: /.lighthouseci/
18+
19+
# Disallow stub routes that redirect externally
20+
Disallow: /contact
21+
Disallow: /privacy-rights
22+
23+
# Allow everything else
24+
Allow: /
25+
26+
# Inform bots where to find the sitemap
27+
Sitemap: https://netwk.pro/sitemap.xml

0 commit comments

Comments
 (0)