Hreflang iteration 2
Step 1: What is changing in this MR?
Fixing 3 common errors with hreflang:
- Self-referencing
hreflang
not present - thehreflang
implementation needs to specify both the preferred audience for the page itself, and its translated variants (only for localized solution pages) - Remove
data-hid="i18n-alt-de-de"
from the implementation. This must be formatted<link rel=”alternate” hreflang=”x” href=”https://example.com/alternate-page” />
with no additional code. - Include non-region
hreflang
alternatives to target language speakers in multiple locations for French and German.
- closes #3548 (closed)
Production | Review app |
---|---|
https://about.gitlab.com/ | Review app |
Step 2: Ensure that your changes comply with the following, where applicable:
-
I, the Assignee, have run Axe tools on any updated pages, and fixed the relevant accessibility issues. -
These changes work on both Safari, Chrome, and Firefox. -
These changes have been reviewed for Visual Quality Assurance and Functional Quality Assurance on Mobile, Desktop, and Tablet. -
These changes work with our Google Analytics and SEO tools. -
These changes have been documented as expected.
Build Variables:
-
Use Contentful Preview API
Edited by Miracle Banks