I have a WordPress Multisite on WP 4.2.2, SEO Yoast is version 2.2.1, and using MU Domain Mapping (v0.5.5.1) to map domains.
I am mapping a domain name to one of my sites and it is set as Primary. Initially, the XML sitemaps produced are displaying the correct URLs - but then after a 2-3 days (without making any changes/updates to anything: posts, pages, plugins, etc), the XML sitemaps produced start displaying the original Multisite sub-domain link (no longer the mapped domain name).
This in turn creates error in Google Webmasters since the URLs being received from the sitemaps are no longer correct.
If I then login to disable the XML Sitemaps that SEO Yoast produces, then enable them again, the XML Sitemaps correct themselves back to the mapped domain URL ...until 2-3 days later when the entire process repeats.
Any ideas how to fix this?? Is this a bug in the plugin?