@DanAdair Everytime when you install or remove the plugins, you need click to restart and rebuild NodeBB in ACP, this procedure is safe, but if you worry, you can create backup of you're database before something to do it, use command mongodump ⛹
Sitemap Error - No Topics in it
-
Hi All,
I do acknowledge that NodeBB automatically generates the sitemap and is listed at https://DomainName.com/sitemap.xml
After changing from http to https, there is a change in the sitemap of my forum.
Now it shows only pages and categories ...no /sitemap/topics.1.xml
This is for your reference:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://DomainName.com/sitemap/pages.xml</loc> </sitemap> <sitemap> <loc>https://DomainName.com/sitemap/categories.xml</loc> </sitemap> </sitemapindex>
How to fix this problem?
Under ....Number of Topics to display in the Sitemap ...what number should i specify? Should I leave it a blank or any number to be specified?
-
Hi there !
I have exactly the same problem (but i don't know if it was related to switching to
https
as i didn't look at the sitemap before)
There is no absolutely no entry for topics in my sitemap !https://forum.mathforu.com/sitemap.xml
<sitemapindex> <sitemap> <loc>https://forum.mathforu.com/sitemap/pages.xml</loc> </sitemap> <sitemap> <loc>https://forum.mathforu.com/sitemap/categories.xml</loc> </sitemap> </sitemapindex>
In the backoffice i tried 'Clear the cache for sitemap' but it stayed the same !
Edit :
I'm currently running on NodeBB v1.6.1, so i'll try to update to v1.7.1 and keep you updated on that issue !
Update :
I've upgraded to NodeBB v1.7.1 but nothing changed on that issue. -
@zipang said in Sitemap Error - No Topics in it:
Can you tell me how you switched to https? Did you also change
config.json
url
property? -
Hi @julian, thanks for your help : i've put my nginx configuration here : https://gist.github.com/zipang/3d60db9c29cb9a5db7ec3f431d07279b
And then, yes : i correctly updated theurl
andsocket.io origin
insideconfig.json
!Could you point me to the place in the code where the
sitemap.xml
is generated ?
I'll try to log what happens when he tries to browse topics..