Rankmath sitemap 404 after purging CF cache
-
I reported this issue previously in an unresolved thread. I now have more information on the precise flow.
After hitting ‘Purge CR cache’ for any page, the following three lines at the head of wp rewrite rules also disappear, leading to 404 at /sitemap_index.xml:
"sitemap_index\.xml$",index.php?sitemap=1,other "([^/]+?)-sitemap([0-9]+)?\.xml$",index.php?sitemap=$matches[1]&sitemap_n=$matches[2],other "([a-z]+)?-?sitemap\.xsl$",index.php?xsl=$matches[1],other
The rewrite rules can be retrieved with the command
wp rewrite list --format=csv
.Saumya, being more familiar with the plugin’s codebase than I am, do you have any idea how this happens?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.