Well, this is my first extension for Flarum (just studying this platform), and is really simple and need a lot of improvements and I will do this. (really, this will be 1000% better)
Actually this extension just generate a new sitemap when a new Discussion is started, I know, is not the best way to do this, probably this can be used just in small~medium communities for now.
This extension generate a sitemap link for:
The sitemap.xml file is located in http://yourwebsite.com/sitemap.xml
-Rewrite new sitemap generator
-Generate a new sitemap file when actual sitemap have 50,000 links.
-Dinamically change sitemap aspects
-Panel in administration giving options to change basic informations about sitemap
-Configure and send new updates to search engines
composer require terabin/flarum-ext-sitemap
This is the first release, so, any bugs, just report here, type
composer remove terabin/flarum-ext-sitemap
And wait for a new version. ?
Actually I use this extension in a fórum with 5,000 discussions and 14,000 posts, and everything works fine.