https://github.com/magesuite/seo-hreflang/blob/1.x/etc/adminhtml/system.xml
This module adds hreflang tags for language and regional URLs used by search engines.
see https://support.google.com/webmasters/answer/189077
Installation
This module is a part of MageSuite metapackage
Installation if metapackage is not used:
composer require "creativestyle/magesuite-seo-hreflang" ^1.0.0
Admin settings
To define hreflang per Store View visit:
Stores -> All Stores -> [Store view] -> Store View Information
General admin settings for the module can be found in MageSuite section:
Store -> Configuration -> MageSuite -> SEO -> Configuration
Default scope settings:
Name | Options | Note |
---|---|---|
Hreflang Tags | Yes/No | Hreflang tags help the search engines to select best language version of the shop for incoming users. |
Hreflang Scope |
| Global - hreflang links will be displayed for all store views from all websites. |
X-Default | None / Specific website | Tells which storeview should be recommended for international audience. Read more. |
Website/Store scope settings:
Name | Options | Note |
---|---|---|
Exclude store | Yes/No | Exclude the store from the canonical URL list. |
Backend
It is required that language and region codes are separated by dash "-" instead of underscore "_" which Magento returns.
TODO - BE documentation and review of documentation is needed
Frontend
There is no frontend functionality in this module.