Provide X-Default

Created on 2 November 2023, over 1 year ago

Problem/Motivation

For SEO purposes, the sitemap.xml should contain "X-DEFAULT" links in the translation sets.
These links tell Google (and other search engines) which translation to show if the user's language is not included in the translation set.
For more info see here:

At the moment we don't have a way to add X-Default link.

Proposed resolution

Update the default generator to provide the X-Default link.
The link default language should be the same as the default language of the site or content.

User interface changes

Add a new Add X-Default (x_default) language setting.

Data model changes

Update config schema (add a new x_default setting) and provide an upgrade path.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024