• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 31.10.20, 14:56
  • Opened by: Lynda
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19637 - h1 tag on all pages

Hi Fred !

On all the pages of my website, there is this h1 tag :

<h1 class=”m-0”> <a class=”header_logo_img flex-container align-items-center w-100 h-100” style=”justify-content: center” href=”https://www.kalyca.fr/” title=”KALYCA”>
<img class=”logo” src=”/img/kalyca-logo-1593945310.jpg” alt=”” title=”” />
</a>
</h1>////

It’s a SEO problem because of that, there are two h1 tag on every page.

What is this h1 tag and how to remove it ?

Thank you.

Attachments:

Capture d’écran 2020-10-31 a... (127.8 KiB)

Comments

Lynda 31 Oct 2020, 15:11

This h1 tag isn’t on product page, but it’s on CMS pages and blog pages.

Fred 31 Oct 2020, 21:04

You can remove it in the file /modules/pspagebuilder/views/templates/front/widgets/widget_logo.tpl

Lynda 31 Oct 2020, 21:38

Thank you, it’s OK for desktop version, but I have some issue with AMP.
For example, on the following page, there are three h1 tags :
https://www.kalyca.fr/en/mobile/page/17-who-are-we

I don’t understand where h1 tags comes from.

<h1 style=”text-align:center;”>Term conditions and GTCS</h1> (line 613)
and <h1 class=”p4” style=”text-align:center;”>Annexe</h1> (line 966) aren’t display on front office…

Fred 02 Nov 2020, 10:25

you seems added it into the page content https://take.ms/KG7iX

Lynda 04 Nov 2020, 21:41

Yes, I added this h1 tag in into the content page, but I would like it is the only.

Fred 05 Nov 2020, 10:13

You can remove H1 tag in the file /modules/pspagebuilder/views/templates/front/widgets/widget_logo.tpl

Lynda 05 Nov 2020, 18:15

My problem is that there is “Term conditions and GTCS” content in source code of “Who are we” AMP page…

Fred 06 Nov 2020, 11:41

I can’t understand your problem.
If you want to change something in the theme, I recommend you to open theme’s folder in code editor and search any text you need and modify it as you need.
You can find a lot of tutorials on YouTube

Lynda 06 Nov 2020, 15:54

.

Lynda 06 Nov 2020, 18:20

Sorry, I don’t express myself very well in English.
My problem is that there is the source code of “Term conditions and GTCS” in “Who are we” AMP page. It’s not displayed on front office but it’s a SEO problem because Google bots find two h1 tag in source code.
Do you understand ?

Attachments:

Capture d’écran 2020-11-06 a... (606.1 KiB)
Fred 07 Nov 2020, 19:47

as I can see you added that tag manually into the page content. that is not theme’s issue.

Lynda 22 Dec 2020, 11:53

I added h1 tag manually, but it’s not the problem because this page https://www.kalyca.fr/en/mobile/page/17-who-are-we has only one h1 tag in its content. The problem is that TERM CONDITIONS AND GTCS page source code is integrated in CMS pages source code. In that respect, when Googlebots read CMS pages, they read two h1 tag, while web user see only one.
Can you appreciate that?

Thank you.

Fred 22 Dec 2020, 23:35

I’m not able to login to your back office, the password seems correct but the page is not loading after login.
Please make sure you don’t have H1 tag on the content of Term conditions and GTCS page

Lynda 28 Dec 2020, 15:46

I have only one h1 tag on all pages. I don’t understand why I have page A source code in page B source code.
Moreover, I noticed when I click on THE BRAND on AMP menu, it opens TERM CONDITIONS AND GTCS page. What is the problem ?

Thank you.

Fred 29 Dec 2020, 11:56

As I wrote you above, you have added manually H1 tag into the page source code https://take.ms/vC8VG

Lynda 29 Dec 2020, 15:58

OK, it’s not a big deal.
However, I don’t understand why when I click on THE BRAND on AMP menu, it opens TERM CONDITIONS AND GTCS page. View screenshot.

Attachments:

Capture d’écran 2020-12-29 a... (197.3 KiB)
Fred 05 Jan 2021, 13:21

The issue has been fixed. Please test to confirm the change

Lynda 05 Jan 2021, 15:41

The issue persists. Is it a bug or a configuration problem ?

Fred 05 Jan 2021, 15:42

The link is correct for me https://take.ms/MVDKS or I’m wrong?

Lynda 05 Feb 2021, 16:22

This link isn’t correct. It redirects to the “Term conditions and GTCS page” because of its ID in the URL (2).

Fred 06 Feb 2021, 11:39

But what is the correct link?

Lynda 06 Feb 2021, 12:03

I would like the category “The brand” points to this page : https://www.kalyca.fr/en/mobile/page/21-the-brand I think this problem is because of THE BRAND category and TERM CONDITIONS AND GTC page have the same ID (view screenshot).

Attachments:

Capture d’écran 2021-02-06 a... (286.2 KiB)
Fred 08 Feb 2021, 15:06

as I can see you added a link to a root category page “the brand” which has no content

Lynda 08 Feb 2021, 15:31

How to add content in a category page ?

Fred 09 Feb 2021, 11:36

As I can see there is no such option for parent category - https://take.ms/abxzK

Lynda 10 Feb 2021, 14:33

as I can see you added a link to a root category page “the brand” which has no content So how to change this link ?

Fred 10 Feb 2021, 17:12

I have no idea how to achieve that with the Main Menu module. I’ll try some ways locally and back to you later

Lynda 10 Feb 2021, 18:36

Since the theme update I have the first issue again (h1 tag on logo). I remove h1 tag again in the file /modules/pspagebuilder/views/templates/front/widgets/widget_logo.tpl but it no longer works. What changed since the last update ?

Thank you.

Attachments:

Capture d’écran 2021-02-10 a... (145.5 KiB)
Fred 10 Feb 2021, 20:10

You have also remove it in the file /themes/alysum/templates/_partials/logo.tpl

Lynda 10 Feb 2021, 21:12

OK. Thank you.

Fred 10 Feb 2021, 21:25

You are welcome!

Lynda 12 Feb 2021, 17:06

I have no idea how to achieve that with the Main Menu module. I’ll try some ways locally and back to you later

So is it possible to remove this link ?

Fred 14 Feb 2021, 21:33

try following CSS

.cms-category.parent h4 > div > a {pointer-events:none}
Lynda 16 Feb 2021, 18:53

I solved the category link issue.
PS : Could you re-open ticket #20489, please ?

Fred 16 Feb 2021, 21:35

ok