asked 11 years ago

Every page results into duplicate H1 titles. Where and What to put in order to fix it?

5 Answers
answered 11 years ago

Hello Mike !

If you want to avoid H1 titles duplication, you can fix in the file content-single.php (line 12) .


answered 11 years ago

Dominic, Can you please tell me what piece of code to write

your’e asking me to change core files…of the theme…and What if you push any update to the theme????? This is very annoying.. 🙁

answered 11 years ago

It is not working…I changed the code in content-single.php from

<h1><?php the_title(); ?></h1>


<h4><?php the_title(); ?></h4>

Still it shows the duplicate h1 tags.

Note: I haven’t installed any cache plugin

answered 11 years ago

Hi Dominic,

As suggested by you, at line number 12, it will change the post title heading. I want to retain the post title to H1 Tag.

But in the theme, the site title is also displayed as H1 tag on a single page.

Hope I am clear…

Its been almost two days, and no fruitful support has been provided.

answered 11 years ago

Hello Mike,

In order to fix the issue with H1 tag, please follow my instruction:

1. Open the file header.php
your site > wp-content > themes > your theme > header.php

2. Edit the codes:

– Line 29

<?php if ( is_home() ): ?>
<?php endif; ?>

– Line 33

<?php if ( is_home() ): ?>
<?php endif; ?>

3. Access to Customize:
dashboard > theme > Customize

4. Add the following code line line into  General Settings > DW Focus header script

@media (max-width: 1079px) and (min-width: 980px) {
.site-header #header #branding  {
margin-bottom: 20px;
border-bottom: 1px solid #ddd;
padding: 0 0 20px;

.home  .site-header #header #branding {
margin-bottom: 0;
padding: 0;
border-bottom: none;

Hope this helps,



answered 11 years ago

I think, your code only check if the opened page is Home, If it is then return H1 tag..

What If I open any article page. In such case H1 tag will not be returned since the opened page is not a Home Page.

Jackie Lord
answered 11 years ago

Dear Mike,
Sadly that even though we have tried our best to support you and answer all your questions, but everything seems to be on fire for you and it was hard to corporate with us in solving the issues. We have issued the refund and you will receive the money back soon.
We didn’t expect this outcome, however we have to close down your case.


Roman 4711
answered 2 years ago

Same problem…
Don’t know how to fix URLs with repeated h tags…
Write to me if you can help.

Dominic Staff
replied 2 years ago

Could you send me the username and password of your site? We will check and help you resolve it.

Powered by DW Question & Answer Pro