Page 1 of 1
Href Lang Tags
Posted: Thu Jul 07, 2022 1:29 pm
by radhavallabh
Hi;
Is there way for generating href_lang tags in Phoenix for multi language support in Google?
Please help to let me know;
Thank you in advance;
Very Warm Regds./
radhavallabh
Re: Href Lang Tags
Posted: Thu Jul 07, 2022 4:13 pm
by ecartz
There is not an established way to do this as far as I know.
https://developers.google.com/search/do ... d-versions
To implement it, someone could create either a header tag module (like ht_canonical) or an injectSiteStart hook listener.
Note that this would probably also require having separate URLs per language. Which might also be tricky to set up. Might have to stop using the existing system hook and replace it with a different one.
https://github.com/CE-PhoenixCart/Phoen ... .sql#L1129
https://github.com/CE-PhoenixCart/Phoen ... on.php#L49