Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't define hreflang language by shop language #1

Open
Chrisi1321 opened this issue Mar 25, 2019 · 0 comments
Open

Don't define hreflang language by shop language #1

Chrisi1321 opened this issue Mar 25, 2019 · 0 comments

Comments

@Chrisi1321
Copy link

Chrisi1321 commented Mar 25, 2019

Hi Guys,

Great module and works almost like it should.

I have a multishop configuration with a shop for Germany one for Austria and one for switzerland.
Language is always the same (german).

As it is not possible in Prestashop 1.7 to add a second / third language with the same iso code the module has a problem to set the correct language code for the stores.

   
 <link rel="alternate" hreflang="x-default" href="https://www.aktiv-naturheilmittel.at" />   <link rel="alternate" hreflang="de-de" href="https://www.aktiv-naturheilmittel.at" />   <link rel="alternate" hreflang="de-de" href="https://www.aktiv-naturheilmittel.de" />   <link rel="alternate" hreflang="de-de" href="https://www.aktiv-naturheilmittel.ch" />   <link rel="canonical" href="https://www.aktiv-naturheilmittel.at" />

As you can see the correct hreflang setup should have de-at for Austria and de-ch for Switzerland.

In backoffice there is the possibility to set the correct paramaters for each store, so perhaps it possible to for to change the variables in the code.

Bildschirmfoto 2019-03-25 um 22 46 46

Would be great,
Thanks

@Chrisi1321 Chrisi1321 changed the title Define hreflang language not by shop language Don't define hreflang language by shop language Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant