Theme Twenty Eleven v 5.6.1
This is a problem across all my sites pages.
When using SEO tools I’m getting reports of 2 different <h1> and <title> tags on all of my sites pages.
I’m using Yoast SEO v 15.7 to define my own page titles but it seems like the theme is creating an alternative title with my site name tagged to the end of my Yoast title. There is also an alternative <h1> for every page which is simply the site name.
I’m assuming that the theme header needs to be edited to prevent this from happening?
Help would be appreciated.
Many thanks.
]]>Theme Twenty Eleven v 5.6.1
This is a problem across all my sites pages.
When using SEO tools I’m getting reports of 2 different <h1> and <title> tags on all of my sites pages.
I’m using Yoast SEO v 15.7 to define my own page titles but it seems like the theme is creating an alternative title with my site name tagged to the end of my Yoast title. There is also an alternative <h1> for every page which is simply the site name.
I’m assuming that the theme header needs to be edited to prevent this from happening?
Help would be appreciated.
Many thanks.
]]>I discover that I have duplicate title for yoast seo v15.5, here’s my code under header.php
<head>
<title><?php wp_title(); ?></title>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<?php wp_head(); ?>
</head>
But for v12.0, there’s no title duplication with the same setup? Here’s the html output.
<title>Yet Another Blog</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- This site is optimized with the Yoast SEO plugin v15.5 - https://yoast.com/wordpress/plugins/seo/ -->
<title>Yet Another Blog</title>
I tested with new wp install, tweak the header.php and found exact the same issue. Is this intended behaviour? What’s the best way for me to resolve this?
Thank you
]]>Scrennshot – https://ibb.co/3dTm4qf
]]>On our site, we have a few pages that have pagination. A scan for SEO-type issues reported these pages had duplication issues with regards to the Title, H1, and description.
Are there any tools in Yoast that can resolve this issue?
In researching this issue, I did find a possible solution that recommended inserting %page% at the end of the SEO Title and at the for the Meta Description Edit Snippet section the first page of pages/posts that had pagination.
Do you know if this solution works?
Thanks and have a good day!
]]>This results in being enqueued the unique-title-checker-block-editor.js
file on the WP backend instead of unique-title-checker.js
.
I’ve sent a PR on GH fixing this if you are interested: https://github.com/2ndkauboy/unique-title-checker/pull/6
]]>Is it possible when a duplicate title is found, to actually stop/prevent the post from being saved or published?
Thanks!
]]>