Roots Discourse

WordPress native sitemap 404 not found

It seems Bedrock doesn’t support WordPress native sitemap yet? https://example.com/wp-sitemap.xml

It should appear in vanilla WordPress, but it doesn’t appear in Bedrock WordPress.

Bedrock disables indexing on non-production environments: https://github.com/roots/bedrock/blob/master/web/app/mu-plugins/disallow-indexing.php

And it appears disabling indexing also disables the native sitemap:

If you update the Site Visibility settings in WordPress admin to discourage search engines from indexing your site, sitemaps will be disabled.

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.