Spyke
general-discussion·General DiscussionbyTwissell

Edit and/or override sitemap.xml with custom static file

Hello everyone! The question is in the Subject. How can I replace autogenerated sitemap.xml with my own custom static file(s)? Maybe there is a possibility to edit the content of the autogenerated one? I would like to add something like posted below

https://example.com/
daily
1.0

to the sitemap.xml file

View original on community.nodebb.org

You can just create a static sitemap.xml and serve it with your load balancer. The nodebb generated one is dynamically generated to add new topics but the other parts of it are mostly static. If you change/purge category names those are updated as well.

2

You reached the end

Edit and/or override sitemap.xml with custom static file | Spyke