[wp-trac] [WordPress Trac] #50515: redirect_sitemapxml should exit if wp_sitemaps_enabled is false
WordPress Trac
noreply at wordpress.org
Tue Jun 30 14:14:10 UTC 2020
#50515: redirect_sitemapxml should exit if wp_sitemaps_enabled is false
----------------------------+-----------------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Sitemaps | Version:
Severity: major | Keywords:
Focuses: |
----------------------------+-----------------------------
When XML sitemaps are disabled via `wp_sitemaps_enabled`,
`redirect_sitemapxml` still runs and redirects requests from
`/sitemap.xml` to `/wp-sitemap.xml`.
This is unintended behaviour; if the sitemaps are disabled, this redirect
should be disabled.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list