Sitemap Error!
Solved
Technical Support
-
I run NodeBB 1.0.2.
Logs from the Admin panel if any use!11/4 16:50 [21159] - [31merror[39m: /sitemap/topics.1.xml
undefined
11/4 16:51 [21159] - [31merror[39m: /sitemap/pages.xml
undefined
11/4 16:51 [21159] - [31merror[39m: /sitemap/pages.xml
undefined
11/4 16:51 [21159] - [31merror[39m: /sitemap/categories.xml
undefined -
I got exactly the same issue and I do have the sitemap dependency installed. Any ideas?
-
I resolved the error by myself,
remove the quote given for priority value./root/nodebb/src/sitemap.js was
'{ url: '/page-1/', changefreq: 'daily', priority: ''0.3'' },
now
{ url: '/page-1/', changefreq: 'daily', priority: 0.3 },
remove the quotes from all occurrence.
Restart Nodebb. -
Thanks. This has been fixed in the latest NodeBB core
Copyright © 2024 NodeBB | Contributors