Permalinks issue when the sitemap is enabled/disabled on multisite
-
Hi guys,
When we enable/disable the sitemap(and save the page) on our wordpress multisite, most of the rewrites stop working and as a result only a handful of pages still work, while the rest throw a 404 not found error.
After reading
https://yoast.com/xml-sitemap-in-the-wordpress-seo-plugin/
and looking at theadmin-pages-xml-sitemaps.php
, we are still not sure if this is standard WordPress SEO behavior, but after some troubleshooting, we found that flushing the permalinks resolves this issue.So, the present workaround was to hook into the
wpseo_xmlsitemaps_config
action and triggerflush_rewrite_rules()
.Any suggestions and insights into this behavior and the fix would be greatly appreciated!
Thanks in advance!
zorancWordPress SEO version: 1.7.4
- The topic ‘Permalinks issue when the sitemap is enabled/disabled on multisite’ is closed to new replies.