Setting up the x-default hreflang header
Multinational and multilingual websites can be configured to point all visitors to a default page through this Setting.
The Settings section's i18n setting will help users manage internationalization and allow users to switch between different languages with the click of of the mouse. The purpose of this setting is to designate a specific path for the site to start on such as a page with a map that will allow users to choose their localized language.
The purpose of this head tag is to designate the path that you want all users to be directed to no matter what their language is. For example, this is the page that your French-speaking users and American-English speaking users will see. Learn more about this with this article from Google. The page that is commonly designated has a map or links that allows users to select their locale. here. Hence, it's important to have languages setup and activated before designating your the
x-default hreflang path.
Before you begin
Before you setup this path you should have a language added to your instance and have it activated. Languages can be added and activated via API.
Steps on how to set the x-default hreflang header
1. Identify which path you'd like to use as you default page
2. Navigate to the Settings section, and under Instance settings select i18n
3. Add the path you chose in Step 1, then click the Save Settings.
Connect with Content Experts
Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.
G2 MOMENTUM LEADER