Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51233, comment 2


Ignore:
Timestamp:
09/03/2020 07:14:03 PM (4 years ago)
Author:
teamdnk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51233, comment 2

    initial v1  
    1 Right, I understand that the location is in the robots.txt file but we still receive many requests for `/sitemap.xml` even with our robots.txt specifying a different filename. Even with prefixing the filename there are still conflicts with existing SEO plugins or tools that use the `sitemap` query_var.
     1Right, I understand that the location is in the robots.txt file but we still receive many requests for `/sitemap.xml` even with our robots.txt specifying a different filename. In regards to backward compatibility, even with prefixing the filename there are still conflicts with existing SEO plugins or tools that use the `sitemap` query_var.
    22
    33Prefixing the query_var makes sense as it is more programmatic than pretty links. What I am proposing is that we keep the core sitemap as `/sitemap.xml` and use another method of being backward compatible. I am looking into some possibilities but even something that checks if the `^sitemap\.xml$` rewrite rule exists may allow it to be backwards compatible.