• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 13.01.21, 14:02
  • Opened by: Lynda
  • Closed by: Fred
  • Closed on: 15.02.21, 18:22
  • Reason: Closed
  • Comment: Glad to help!

Ticket #20447 - Hreflang attribut (2)

Hi Fred !

This ticket following ticket #19730
I have a problem with hreflang on all the pages of blog. Hreflang URL and canonical URL are not the same. This hreflang attributs conflicts is a SEO problem. It’s necessary that hreflang attribut uses URL rewritted.
Thank you.

Attachments:

Capture d’écran 2021-01-09 a... (221.4 KiB)

Comments

Fred 13 Jan 2021, 16:59

I see.
Blog is not our module. We have purchased it on themeforest. We will ask to help module developer

Lynda 14 Jan 2021, 14:25

But are generation hreflang attribut not generated by an Alysum module ?

Fred 14 Jan 2021, 14:28

no, it’s should be generated in blog module, the theme just display links received from prestashop

Lynda 14 Jan 2021, 14:56

OK, thank you. Please keep me up-to-date.

Fred 14 Jan 2021, 14:57

of course

Fred 22 Jan 2021, 12:49

Please test it out now.
I have updated the following blog module files what I ask you to copy as a backup

/themes/child_alysum/modules/ph_simpleblog/views/templates/front/1.7/*
/modules/ph_simpleblog/controllers/front/list/list-v17.php
/modules/ph_simpleblog/controllers/front/list/single-v17.php
Lynda 23 Jan 2021, 10:32

Thank you, Fred.
But there are still two problems.

1. English hreflang URL in blog posts pages are wrong, its contain “fr” instead of “en”.
2. On AMP, hreflang URL in CMS pages are wrong (404 errors).

I’m waiting all hreflang issues are fixed to make a backup of files you have updated.

Thank you.

Attachments:

blog post.jpg (173.5 KiB)
cms page.jpg (243.5 KiB)
Fred 24 Jan 2021, 15:51

Please check it out now.
Please keep a backup of those files + next one

/modules/pkamp/controllers/front/cms.php
Lynda 24 Jan 2021, 18:24

It’s OK for blog pages, but there is the same language tag issue on AMP CMS pages.

Attachments:

Capture d’écran 2021-01-24 a... (287.5 KiB)
Fred 25 Jan 2021, 12:03

sorry, now it’s ok

Lynda 25 Jan 2021, 18:43

Thank you very much ! I have downloaded the four files, but won’t you integrate them in the next update?
Do you have a response from the blog module developper?

Fred 26 Jan 2021, 11:29

All these changes already added to the next update.
As for the blog module update the developer don’t know when he will release a new version