Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#52434 new defect (bug)

Add a way to inject alternate links for entries in wp-sitemap.xml

Reported by: nonverbla Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.6
Component: Sitemaps Keywords:
Focuses: Cc:


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?

Change History (1)

#1 @SergeyBiryukov
10 months ago

  • Component changed from General to Sitemaps
Note: See TracTickets for help on using tickets.