Jump to content

alternate link hreflang exposes ugly URLs


Jezza

Recommended Posts

Hi ! Sorry if I did not choose the correct forum to post.

We have just upgraded to 1.7.6.5. We have a 1 store, 1 language setup.

We correctly have our alternate link tag rendered in the HEAD for each page, however for every page that isn't a product or the homepage, the value is the ugly (not pretty) permalink URL.

We do not want this URL to be seen by Google (or anyone) - we want the pretty permalink URL instead as I am sure everyone does.

Examples:

A CMS page https://www.dynveo.fr/content/a-propos-de-nous.html 
Has alternate value https://www.dynveo.fr/index.php?controller=cms&cms_rewrite=

Or Blog posts (from PrestaBlog module) https://www.dynveo.fr/blog/bien-choisir-son-huile-de-krill-n3
Has alternatte value https://www.dynveo.fr/module-blog?id=3&n=3&urlnews=bien-choisir-son-huile-de-krill

I am talking about this tag BTW which you will see by inspecting the source:
<link rel="alternate" href="https://www.dynveo.fr/index.php?controller=cms&amp;cms_rewrite=" hreflang="fr-fr">

Bug or config?

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

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...