Google XML sitemaps not configured
As found with pro-werraquerung.de
, we do not publish Google XML sitemaps, which decreases search engine findability.
There is now a farm-wide plugin¹ on dysnomia
, which publishes sitemaps, if configured accordingly. The plugin configuration page reveals, that nginx
needs an additional snippet.
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
¹ https://wordpress.org/plugins/google-sitemap-generator/#installation