msm-sitemap
msm-sitemap copied to clipboard
Comprehensive sitemaps for your WordPress VIP site. Joint collaboration between Metro.co.uk, WordPress VIP, Alley Interactive, Maker Media, 10up, and others.
Core introduced sitemaps in 5.5 and a workaround for the 404 bug was introduced here in #161 Instead of relying on a workaround, however, `status_header` will overload any previously set...
Sweeping the low-hanging fruit from the PHPCS results (`composer cs`).
Because Wordpress 5.5 is using the query var "sitemap" to generate the "wp-sitemap.xml" file there is a conflict with this plugin. Both are using the same query var. This PR...
Because Wordpress 5.5 is using the query var "**sitemap**" to generate the "wp-sitemap.xml" file there is a conflict with this plugin. Both are using the same query var. The quickest...
Add an action to support modifying the `$sitemap` element
Having the site hosted in Sydney +11 hours we are seeing today's sitemap file does not appear in the list of sitemaps unitl 11am Sydney time each day. The current...
…field-a-bag-of-noise-23645.html https://kb.yoast.com/kb/can-i-change-the-sitemap-priority/
Some sites may have different criteria for what is considered a "modified" post, so we should add a filter to override `Metro_Sitemap::get_last_modified_posts()`, specifically here: https://github.com/Automattic/msm-sitemap/blob/fa4fff265d435b6185f1d1a0dc803b9b5ff52e4e/msm-sitemap.php#L590
The default format for output is `/sitemap.xml?yyyy=2019&mm=08&dd=03` and there is an [existing filter to move the year to the URL](https://href.li/?https://github.com/Automattic/msm-sitemap/blob/6d58e2e65d77f140fe1e32fde7ee4ef48a01add4/msm-sitemap.php#L32) `/sitemap-2019.xml?mm=08&dd=03` But an additional filter that provided the ability to...