Skip to content

Commit 6de6c90

Browse files
committed
feat: add noindex settings for internal CMS
Add search engine blocking to prevent CMS from appearing in search results: - robots.txt: Disallow all crawlers - app.html: Add noindex, nofollow meta tag
1 parent e1bfabe commit 6de6c90

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<meta name="robots" content="noindex, nofollow" />
67
%sveltekit.head%
78
</head>
89
<body data-sveltekit-preload-data="hover">

static/robots.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# allow crawling everything by default
1+
# disallow all crawling (internal CMS tool)
22
User-agent: *
3-
Disallow:
3+
Disallow: /

0 commit comments

Comments
 (0)