diff --git a/next-sitemap.config.js b/next-sitemap.config.js new file mode 100644 index 0000000..5068b22 --- /dev/null +++ b/next-sitemap.config.js @@ -0,0 +1,15 @@ +/** @type {import('next-sitemap').IConfig} */ +module.exports = { + siteUrl: process.env.SITE_URL || 'http://localhost:3000', + exclude: ['/next.svg', '/vercel.svg', '/favicon.ico'], + generateRobotsTxt: true, + generateIndexSitemap: false, + robotsTxtOptions: { + policies: [ + { + userAgent: '*', + allow: '/', + }, + ], + }, +}; diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..fb81b64 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,9 @@ +# * +User-agent: * +Allow: / + +# Host +Host: https://shadcn-timeline.vercel.app + +# Sitemaps +Sitemap: https://shadcn-timeline.vercel.app/sitemap.xml diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml new file mode 100644 index 0000000..dc7ce4d --- /dev/null +++ b/public/sitemap-0.xml @@ -0,0 +1,4 @@ + + +https://shadcn-timeline.vercel.app2025-01-03T16:53:05.059Zdaily0.7 + \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..b06638b --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,4 @@ + + +https://shadcn-timeline.vercel.app/sitemap-0.xml + \ No newline at end of file