db8 HREFLang correction (for Joomla 3.x)
This Joomla 3 system plugin corrects the Hreflang tag in yourJoomla site.
The Hreflang tag
To determine the Language + Locales
(targetaudiencce) of your website, the Hreflang
in the HTML source code of your website.
You can have an English language website, but targeted at
* en-GB - English language for the Great Britain area
* en-US - English language for the United States area
* en-CA - English language for the Canadian area
* en-AU - English language for the Australian area
Incorrect hreflang implementation
Some language packs, like Arabic, have no valid
If you have a Joomla website with the ar-AA Arabic languagepack
and your using
then you might have had a warning about wrong hreflang tag.
Fix incorrect hreflang
You can manually change the Hreflang tag in the
LanguagePack of your site and in
the Extensions> Language >
Content Language of your site. Howevernext language pack update will be a problem.
This plugin replaces the set hreflang tag retrieved from
yourcontent language with a hreflang tag of your choosing.
When a page is displayed the plugin looks in the HTML source for alanguage tag, e.g. ar-AA and replaces it with
the language tag of your preference (e.g. ar-EG for Arabic Languagefor Locale Egypt).