Skip to content

Commit 3bc7cc2

Browse files
TheMeinerLPclaude
andcommitted
fix(seo): exclude noindex pages from sitemap via routeRules
Add sitemap: false to imprint and privacy routeRules so noindex pages stop appearing in the sitemap, avoiding wasted crawl budget. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 149ddf4 commit 3bc7cc2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ export default defineNuxtConfig({
7777
priority: 0.8
7878
}
7979
},
80+
routeRules: {
81+
'/en/imprint': { index: false },
82+
'/de/imprint': { index: false },
83+
'/en/privacy': { index: false },
84+
'/de/privacy': { index: false },
85+
},
8086

8187
vite: {
8288
plugins: [tailwindcss()],

0 commit comments

Comments
 (0)