agslk Posted July 11, 2017 Share Posted July 11, 2017 Bonjour, J'ai un presta 1.5.5.0 en multiboutiques avec une version fr et es. Je souhaite ajouter la balise hreflang sur chaque page en récupérant l'url de la page active sur les 2 versions du type : <link rel="alternate" hreflang="es" href="https://www.spanish.es/hola.html"/> <link rel="alternate" hreflang="fr" href="https://www.french.com/bonjour.html"/> Je ne vois pas comment faire Un petit coup de main ? Merci d'avance. Link to comment Share on other sites More sharing options...
doekia Posted July 11, 2017 Share Posted July 11, 2017 (edited) Il te faut un petit module pour ça. J'en ai un sur mon shop, mais il en existe 2-3 autres, tant sur addons que sur d'autres sources Edited August 2, 2017 by doekia (see edit history) Link to comment Share on other sites More sharing options...
Trafiquant Posted August 1, 2017 Share Posted August 1, 2017 Je suis intéressé par un tel module si @doekia a des liens à communiquer. Tout ce que j'ai pu trouver jusqu'à présent n'assure pas la correspondance des balises hreflang entre des pages de multi-boutiques différentes. Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 1, 2017 Share Posted August 1, 2017 Bonjour, vous avez ce module qui gère le hreflang en multi boutique multi langue et surtout remplace le block language d'origine afin de proposer la bonne url dans les autre langues en changeant de domaine. fr : http://www.prestatoolbox.fr/multi-boutique-prestashop/317-bloc-multi-langues-multi-domaines.html en : http://www.prestatoolbox.com/multi-store-prestashop/317-block-multi-languages-multi-domains.html Link to comment Share on other sites More sharing options...
Johann Posted September 20, 2017 Share Posted September 20, 2017 Je propose également un module hreflang qui marche pour le multiboutique, et qui a en plus l'avantage de permettre de choisir le code langue pour chaque boutique, pour cibler par exemple le français en Suisse sur un .ch, et le français en France sur un .fr : https://www.johanncorbelconsulting.fr/2-multi-hreflang.html Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 Hello, It´s my first post here. I hope you can help me. Webmaster tools give some errors in hreflang SEO url´s. My site has 4 languages (english, spanish, italian and Germany). I translated URLs SEO (contact us, best sales, sitemap...). Now when I open view-source for example view-source:https://www.mydomain.com/es/contacte-con-nosotros appear: <!- canonical y hreflang -> <link rel="canonical" href="http://www.mydomain.com/es/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/en/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/es/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/it/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/de/contacte-con-nosotros" /> <!- /canonical y hreflang -> and it should be: <!- canonical y hreflang -> <link rel="canonical" href="http://www.mydomain.com/es/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/en/contact-us" /> <link rel="alternate" hreflang="http://www.mydomain.com/es/contacte-con-nosotros" /> <link rel="alternate" hreflang="http://www.mydomain.com/it/contattaci" /> <link rel="alternate" hreflang="http://www.mydomain.com/de/kontakt" /> <!- /canonical y hreflang -> How can I solve it? I hope your help! Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 (edited) @jggustovo07 you need a module to generate the proper hreflang ... like this one for instance https://store.enter-solutions.com/fr/61-canonical-hreflang.html Edited September 22, 2017 by doekia (see edit history) 1 Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 Thank you. Anyway all is correct in my manual hreflang. I have only a issue with URLs SEO that I think it´s possible to solve without any module. Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 Correct? Then I did not understand your 1st question. Can we have a real url to understand it better? Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 Yes, https://www.buypoppersnet(.)com. Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 (edited) First your hreflang lang point to the http version of the site, not https Second you dis not define any region, And, on page contact-us, your hreflang are missing the language, and they friendly url is wrong Edited September 22, 2017 by doekia (see edit history) 1 Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 How can I solve it? Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 @jggustavo07 Let me clarify why you need a module. It could be yours but nothing but a module can do the job. Each different type of page have different friendly-url scenario, product use link_rewrite from table product_lang, category link_rewrite from category_lang, other page data from mata_lang. The correct link should call a different method to generate the proper url $link->getProductLink() $link->getCategoryLink() ... I hope now you understatnd why a module is compulsary Link to comment Share on other sites More sharing options...
Johann Posted September 22, 2017 Share Posted September 22, 2017 using one of our modules Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 I just used hreflang module before and I had issues too. Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 doekia https://store.enter-...l-hreflang.html is your module? Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 yes it is my module, but feel free to use another one or build-up yours. Any how there is no way to address hreflang without a module Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 I asked because I just used a module before and i follow with issues. What is the waranty that this module will work well? Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 http://hreflang.ninja/check/?url=https%3A//store.enter-solutions.com/fr/contactez-nous Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 doekia, I asked because I just used a module before and i follow with issues. What is the waranty that this module will work well? Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 (edited) Follow the link it will analyze the hreflang within my shop using my module Edited September 22, 2017 by doekia (see edit history) Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 If I buy now your module and I have some problem. Can you help me? Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 Sure Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 I bought your module. Now it´s a normal installation in prestashop 1.6? Link to comment Share on other sites More sharing options...
jggustavo07 Posted September 22, 2017 Share Posted September 22, 2017 I istalled your module and nothing happen!!! Link to comment Share on other sites More sharing options...
doekia Posted September 22, 2017 Share Posted September 22, 2017 For the record, the shop 1.6.0.4 did not completed the installation properly and did not hooked the module. Manual hook and the module worked like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now