-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnext-sitemap.config.js
More file actions
27 lines (27 loc) · 1022 Bytes
/
next-sitemap.config.js
File metadata and controls
27 lines (27 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: "https://lessons.church",
generateRobotsTxt: true,
exclude: ["/admin", "/admin/*", "/portal", "/portal/*", "/login", "*/alt"],
robotsTxtOptions: {
additionalSitemaps: [],
policies: [
{ userAgent: '*', allow: '/' },
{ userAgent: 'GPTBot', allow: '/' },
{ userAgent: 'ChatGPT-User', allow: '/' },
{ userAgent: 'Claude-Web', allow: '/' },
{ userAgent: 'Anthropic-AI', allow: '/' },
{ userAgent: 'PerplexityBot', allow: '/' },
{ userAgent: 'Bytespider', allow: '/' },
{ userAgent: 'CCBot', allow: '/' },
{ userAgent: 'Google-Extended', allow: '/' },
],
additionalPaths: async (config) => [
{ loc: '/faq', priority: 0.8 },
{ loc: '/compare/answers-in-genesis', priority: 0.7 },
{ loc: '/compare/think-orange', priority: 0.7 },
{ loc: '/compare/rightnow-media', priority: 0.7 },
{ loc: '/compare/grow-curriculum', priority: 0.7 },
],
},
};