Comprehensive sitemaps for your WordPress VIP site. Joint collaboration between Metro.co.uk, WordPress VIP, Alley Interactive, Maker Media, 10up, and others.
74
stars
37
forks
source link
Temporary workaround for sitemaps returning 404 #161
After the 5.5 release, sitemaps were added to the core. Since both Core and msm-sitemap are using the sitemap rewrite parameter, a Core bug is making all the sitemap requests return 404, despite sending the correct XML.
I'm adding this on vipgo-helper.php as this is intended as a temporary workaround, but happy to move it to msm-sitemap.php if needed.
After the 5.5 release, sitemaps were added to the core. Since both Core and msm-sitemap are using the
sitemap
rewrite parameter, a Core bug is making all the sitemap requests return 404, despite sending the correct XML.I'm adding this on
vipgo-helper.php
as this is intended as a temporary workaround, but happy to move it tomsm-sitemap.php
if needed.See https://core.trac.wordpress.org/ticket/51136