[wp-trac] [WordPress Trac] #51211: Implement a consistent function to obtain the sitemap location

WordPress Trac noreply at wordpress.org
Wed Sep 9 22:41:54 UTC 2020


#51211: Implement a consistent function to obtain the sitemap location
-------------------------+------------------------------
 Reporter:  GreatBlakes  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Sitemaps     |     Version:  5.5.1
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by pbiron):

 Hi @GreatBlakes.

 I'm trying to understand the use case for this better.  You say:

 > it is difficult for others to easily know which is actually being used

 How would adding this filter make that easier?  The URL of the sitemap
 isn't displayed anywhere within the Dashboard.

 In most cases, the sitemap index URL is viewable at
 `https://example.com/robots.txt`.  At least one SEO/Sitemap plugin (Yoast)
 does **not** add a reference to the sitemap index to robots.txt but the
 vast majority do (as does core).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51211#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list