WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 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:

Description

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
8 months ago

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