Skip to content

Node.js based forum software built for the modern web

Update sitemap.js

Сергей Савельевefbab27827f5
diff --git a/src/sitemap.js b/src/sitemap.js
index 0c6d016e36..88793bd3a8 100644
--- a/src/sitemap.js
+++ b/src/sitemap.js
@@ -69,7 +69,7 @@ sitemap.getDynamicUrls = function(callback) {
categoriesData.forEach(function(category) {
if (category) {
categoryUrls.push({
- url: '/category/' + category.cid + '/' + encodeURIComponent(utils.slugify(category.name)),
+ url: '/category/' + category.slug,
changefreq: 'weekly',
priority: '0.4'
});