- 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.
Comments
This h1 tag isn’t on product page, but it’s on CMS pages and blog pages.
You can remove it in the file /modules/pspagebuilder/views/templates/front/widgets/widget_logo.tpl
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…
you seems added it into the page content https://take.ms/KG7iX
Yes, I added this h1 tag in into the content page, but I would like it is the only.
You can remove H1 tag in the file /modules/pspagebuilder/views/templates/front/widgets/widget_logo.tpl
My problem is that there is “Term conditions and GTCS” content in source code of “Who are we” AMP page…
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
.
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)as I can see you added that tag manually into the page content. that is not theme’s issue.
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.
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
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.
As I wrote you above, you have added manually H1 tag into the page source code https://take.ms/vC8VG
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)The issue has been fixed. Please test to confirm the change
The issue persists. Is it a bug or a configuration problem ?
The link is correct for me https://take.ms/MVDKS or I’m wrong?
This link isn’t correct. It redirects to the “Term conditions and GTCS page” because of its ID in the URL (2).
But what is the correct link?
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)as I can see you added a link to a root category page “the brand” which has no content
How to add content in a category page ?
As I can see there is no such option for parent category - https://take.ms/abxzK
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 ?
I have no idea how to achieve that with the Main Menu module. I’ll try some ways locally and back to you later
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)You have also remove it in the file /themes/alysum/templates/_partials/logo.tpl
OK. Thank you.
You are welcome!
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 ?
try following CSS
I solved the category link issue.
PS : Could you re-open ticket #20489, please ?
ok