Jump to content

Problems with HrefLang on blog pages


Recommended Posts

I'm improving my SEO, but I have a problem.
My blog module always creates two URLs for blog articles. One redirects to the other, so it’s not a big issue. However, when Prestashop generates the hreflang tags, it uses the redirected URL instead of the final one.

I found where the hreflang tags are generated, in themes/my-theme/templates/_partials/head.tpl, but I need to know how the $urls.alternative_langs in head.tpl are obtained. That way maybe i can find the root of the problem. 

My PrestaShop version is 1.7.6.4.

Thank you in advance!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...