[wp-trac] [WordPress Trac] #52434: Add a way to inject alternate links for entries in wp-sitemap.xml

WordPress Trac noreply at wordpress.org
Wed Feb 3 11:57:00 UTC 2021


#52434: Add a way to inject alternate links for entries in wp-sitemap.xml
--------------------------+-----------------------------
 Reporter:  nonverbla     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi there! Loving the new built-in feature to let WordPress generate
 sitemaps! Today I tried to add alternate links to my sitemap (for
 translated posts), but with no luck. Looking at the core and
 documentation, only `lastmod` and some other tags are supported, but I
 would need tags of type `xhtml:link` as described here:
 https://translatepress.com/multilingual-sitemap-wordpress-site/

 Any chance there will soon be a way to inject more complex tags to sitemap
 entries?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52434>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list