手动安装
composer require flagrow/sitemap
如果是nginx ,那么,在伪静态规则里加上下面一条
location = /sitemap.xml { try_files $uri $uri/ /index.php?$query_string; }
升级
composer update flagrow/sitemap
php flarum migrate
php flarum cache:clear
原帖英文原文
https://discuss.flarum.org/d/14941-flagrow-sitemap