forked from MRezaSafari/cbsofyalioglu-static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-sitemap.js
98 lines (98 loc) · 3.31 KB
/
next-sitemap.js
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
module.exports = {
siteUrl: 'https://www.cbsofyalioglu.com',
changefreq: 'monthly',
priority: 0.5,
sitemapSize: 5000,
generateRobotsTxt: true,
exclude: [
'/post*',
"/archive*",
'/featured*',
'/productivity',
'/code',
'/uretkenlik',
'/programlama',
'/travel',
'/design',
'/how-to',
'/post/adonisjs-solidjs',
'/post/adonisjs-solidjs',
'/post/adonisjs5-tailwind',
'/post/canva-pro-ucretsiz',
'/post/canva-pro-ucretsiz',
'/featured/content-creation-tools',
'/post/content-creation-tools',
'/featured/django-and-modern-js-libraries-svelte',
'/post/e-bulten-hazirlama-siteleri',
'/post/en-iyi-blog-siteleri',
'/featured/en-iyi-blog-siteleri',
'/post/free-design-resources',
'/featured/free-design-resources',
'/post/free-design-resources',
'/post/introduction-to-web-rtc',
'/post/next-js-development-within-nx-workspace',
'/post/not-alma-uygulamasi-ve-teknikleri',
'/featured/not-tutma-teknikleri-zettelkasten-metodu',
'/featured/notion-sablonlari-ve-ucretsiz-site-olusturmak',
'/post/obsidian-not-alma-uygulamasi',
'/post/proje-yonetim-uygulamalari',
'/post/python-vs-javascript',
'/featured/solidjs-and-reactive-primitives',
'/post/solidjs-and-reactive-primitives',
'/post/self-hosted-confluence',
'/post/ucretsiz-wordpress-blog-acma',
'/archive/video-archive',
'/post/wordpress-vs-jamstack',
'/post/yetenekli-dijital-not-tutma-uygulamasi-tiddlywiki',
'/bookmarks/design-tools',
'/bookmarks/dev-tools',
'/code/django-and-modern-js-libraries-backend/',
'/code/django-and-modern-js-libraries-react/',
'/code/django-and-modern-js-libraries-svelte/',
"/archive/video-archive/",
"/design/content-creation-tools/",
"/not-alma/en-iyi-blog-siteleri/",
"/uretkenlik/en-iyi-blog-siteleri/",
"/uretkenlik/obsidian-not-alma-uygulamasi/"
],
// Default transformation function
transform: async (config, path) => {
return {
loc: path, // => this will be exported as http(s)://<config.siteUrl>/<path>
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
alternateRefs: config.alternateRefs ?? [],
}
},
additionalPaths: async (config) => [
await config.transform(config, 'https://www.cbsofyalioglu.com/post/is-it-safe-to-travel-through-istanbul-airport/'),
await config.transform(config, '/post/django-and-modern-js-libraries-backend/'),
await config.transform(config, '/post/django-and-modern-js-libraries-svelte/'),
await config.transform(config, '/post/django-and-modern-js-libraries-react/'),
await config.transform(config, '/blogging/best-blogging-sites/'),
await config.transform(config, '/blogging/content-research-tools/'),
await config.transform(config, '/blogging/generate-income/')
],
robotsTxtOptions: {
policies: [
{
userAgent: '*',
allow: '/',
},
//{
// userAgent: 'test-bot',
// allow: ['/path', '/path-2'],
//},
//{
// userAgent: 'black-listed-bot',
// disallow: ['/sub-path-1', '/path-2'],
//},
],
additionalSitemaps: [
//'/my-custom-sitemap-1.xml',
//'/my-custom-sitemap-2.xml',
//'/my-custom-sitemap-3.xml',
],
},
}