sitemap does not update
-
Hi guys,
Why my website's sitemap does not update itself? In 22th April, I have 200url. Now it is still 200 url. But it should increase, I have some new threads, but the sitemap just ignore them? I click
clear sitemap cache
, the url's number does not change either. -
I am using nodebb too.
https://rockq.org/sitemap/topics.1.xmlthe sitemap hasn't been updated for a long time. So, is there any trigger ?
-
working fine here on 1.0.4
https://forums.stonebound.net/sitemap/topics.1.xmlmight be related to the non roman letters?
-
@phit said in sitemap does not update:
elated to the non roman letters
Hi phit,
I can not open your link, this does not mean there is something wrong with your server, I guess its because of my net connection.
Well, your sitemap can update everyday? automatically?
-
@sharonyue said in sitemap does not update:
Well, your sitemap can update everyday? automatically?
huh, you made me recheck it appears it only gets updated when i restart nodebb, which i do quite frequently when playing around with customizations so I did not notice it
so yeah, this sounds like a bug, I opened an issue on github https://github.com/NodeBB/NodeBB/issues/4624 -
@sharonyue 1.0.3 is the latest stable, you could update to master or weeky but I would not recommend that in production
if you chose switch to unstable, run the following commands in your nodebb directory./nodebb stop git fetch git checkout master git merge origin/master ./nodebb upgrade ./nodebb start
the better option in my opinion for this specific case is patching it in manually by editing the file yourself until this fix has been pushed with the next release
to do that edit this fileyournodebbdirectory/src/sitemap.js
and replace the content with this
https://github.com/NodeBB/NodeBB/blob/f5e928409cd6c33e4353ce41cd24a22bf4f0142d/src/sitemap.js