feat(seo): server-side sitemap for shows and persons
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25a5d535a4
commit
70b825c2dc
2 files changed
+74
-3
No files matched your search
@@ -1,11 +1,15 @@
|
||||
const siteUrl = `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`;
|
||||
|
||||
module.exports = {
|
||||
siteUrl: `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`,
|
||||
siteUrl,
|
||||
generateRobotsTxt: true,
|
||||
exclude: ['/server-sitemap.xml'],
|
||||
robotsTxtOptions: {
|
||||
policies: [
|
||||
{ userAgent: '*', allow: '/' },
|
||||
{ userAgent: '*', disallow: '/favorites' },
|
||||
{ userAgent: '*', disallow: '/watch-list' }
|
||||
]
|
||||
{ userAgent: '*', disallow: '/watchlist' }
|
||||
],
|
||||
additionalSitemaps: [`${siteUrl}/server-sitemap.xml`]
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user