-
Здравствуйте.
При анализе своего сайта, многое удалось улучшить. Спасибо. Но возникла проблема . С одним ни как справиться не могу . Возможно сказывается незнание программирования. Возможно и ошибка где то. Не получается победить заголовок H1. Даже если строка пуста, все равно пишет что из 2 и что нужен один. Есть скрины, но их сюда не прикрепить. Подскажите пожалуйста, в чем проблема. Сайт сделан на WP. Тема Envo eCommerce- This topic was modified 4 years, 8 months ago by Evgen.
-
Hi,
Thanks for getting in touch with us.
Please follow this guide on fixing the issues brought forward by the SEO Analysis:
https://rankmath.com/kb/seo-analysis/For the H1, you might want to check your theme files and see where the H1 is coming from.
View your page’s source and search for
<h1
. That will give you an idea of where the H1 is placed.Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Ничего не получается. Не понимаю в чем дело.
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<?php else : ?>
<p class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></p>
<?phpHello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Please clear your site cache and run the sitewide analysis once again and check if the problem will still be reported.
Looking forward to helping you. Thank you.
Здравствуйте.
Я узнал. У меня проблема с темой на моем сайте.
На главной странице находиться два заголовка h 1. Для лучшего индексирования, должен быть один заголовок. <h1 class=”page-title”></h1> Лишний. Но найти его не могу ни в одном файле.
Для страницы используется шаблон content-page.php, а в нем <h1 class=”single-title”>, а не page-title. Что странно.
Если вы подскажете решение проблемы, буду благодарен.Hello.
I found out. I have a problem with a theme on my site.
There are two headings h 1 on the main page. For better indexing, there should be one heading. <h1 class = ”page-title”> </h1> Extra. But I can not find it in any file.
For the page, the template content-page.php is used, and in it <h1 class = ”single-title”>, and not page-title. Which is strange.
If you suggest a solution to the problem, I will be grateful.Hello,
Thank you for contacting Rank Math today.
Could you please share a link to your website on the sensitive data section so that we can check this for you?
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi,
The H1 is added in your logo and as the page title. The second one is likely the page.php or the index.php file of your theme.
If you wish to remove the H1 from the logo, you have to edit the header.php file for that.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo(‘charset’); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<?php wp_head(); ?>
</head>
<body id=”blog” <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div class=”page-wrap”>
<?php get_template_part(‘template-parts/template-part’, ‘topnav’); ?>Hello
That’s all there is in the file header.php.- This reply was modified 4 years, 8 months ago by Evgen.
Hello,
Thank you for contacting Rank Math today.
The code that you are looking for is likely located within the template part topnav that is included in the header:
<div class="site-branding-text"> <!--======== Below this line =======---> <h1 class="site-title"><a href="https://anticfur.ru/" rel="home">Фурнитура для кожгалантереи</a></h1> <p class="site-description"> Все для изготовления изделий из натуральной кожи </p> </div><!-- .site-branding-text --> </div>
The next <h1 > tag is shown below:
<div class="row"> <article class="col-md-8"> <h1 class="page-title">Италия Турция КНР</h1> <div class="page-description"><h3>Пряжки кольца карабины нитки инструмент краска и различная химия для обработки натуральной кожи</h3></p> </div>
Looking forward to helping you. Thank you.
Hey.
I do not have a file with this name
topnav.
How can I send you a screen of all theme folders? What would you tell me in which folder to look for me.Hello,
Thank you for contacting Rank Math today.
The file is likely located in theme-name/template-parts/topnav.php
I would also be happy to check this if you can share some FTP access to your site on the sensitive data section.
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hey.
As a beginner, I did not understand how to provide access to the database. I copied the theme folder to the virtual disk and provided you with a link. I hope it helps.Hello,
Thank you for contacting Rank Math today.
To provide us access, please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
The ticket ‘Ошибка с заголовком H1’ is closed to new replies.