What are the nginx rewrite rules for sitemap support?
-
Hello there,
I have been struggling to get the nginx rewrite rules for Jetpack-generated sitemaps to work. Even more strangely, some of the websites I manage seem to accept the rules I’ve got, but others, using the same rules, just produce 404.
The issue I’ve got is that most sites and articles only have rules for Yoast SEO or other plugins which produce sitemaps; Jetpack’s own rules have been ‘forgotten’ by the usually helpful nginx community.
This is particularly true for a multisite install; no matter what rules I try to adapt, none seem to have any effect.
So, what rules do you recommend in each case (single installs and multisite installs)?
Thank you in advance for any help!
- The topic ‘What are the nginx rewrite rules for sitemap support?’ is closed to new replies.