[wp-trac] [WordPress Trac] #50465: Provide filters to add extra sitemap entries

WordPress Trac noreply at wordpress.org
Wed Jul 1 08:33:52 UTC 2020


#50465: Provide filters to add extra sitemap entries
-------------------------+----------------------
 Reporter:  Chouby       |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Sitemaps     |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |     Focuses:
-------------------------+----------------------

Comment (by Chouby):

 I went to a totally different method.

 My original idea was to mix all languages in one sitemap. This is the
 natural way for posts and terms. And that's why I needed to add extra
 entries for the translated homepages and the author archives.

 I didn't want to create a custom provider as, in my opinion, this could
 potentially lack compatibility with 3rd party plugins which wouldn't be
 aware of this custom provider. But this gave me the idea to dynamically
 change the behaviour of the existing providers to create one sitemap per
 language.

 You can see the current status here:
 https://github.com/polylang/polylang/pull/531

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


More information about the wp-trac mailing list