Skip to content

Commit 94c78f4

Browse files
committed
fix(landing): redirect /sitemap.xml directly to /sitemap-0.xml with all pages
1 parent 2cad8b6 commit 94c78f4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/landing/astro.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import vercel from '@astrojs/vercel';
1010
export default defineConfig({
1111
site: 'https://urbackend.in',
1212
redirects: {
13-
'/sitemap.xml': '/sitemap-index.xml',
13+
'/sitemap.xml': '/sitemap-0.xml',
1414
},
1515
integrations: [
1616
react(),

‎apps/landing/public/robots.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
User-agent: *
22
Allow: /
33

4-
Sitemap: https://urbackend.in/sitemap-index.xml
4+
Sitemap: https://urbackend.in/sitemap.xml
55
Sitemap: https://urbackend.in/sitemap-0.xml
6+
Sitemap: https://urbackend.in/sitemap-index.xml

0 commit comments

Comments
 (0)