First of all we already have topic thumbnails you can enable it from the ACP.
If that isn't enough you can take a look at the code that makes it work and duplicate that.
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 !
<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 !
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 !
I've upgraded to NodeBB v1.7.1 but nothing changed on that issue.
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 the
socket.io origin inside
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..