Duplicate content in meta page title using yoast
-
I am having some issues with my page titles which I can’t work out. It’s a wordpress based site using yoast so I am hoping someone here might know why it’s going wrong.
For my page title template I am using %%sitename%% %%title%%
With site name being ‘Essex Wedding Photographer’ and the page being whatever I have called that page.
For example my portfolio page should display Essex Wedding Photographer >> Portfolio
However it actually renders as Essex Wedding Photographer >> Essex Wedding PhotographerPortfolio
And it is doing this for every page. For some reason it is including Essex Wedding Photographer in the page tag followed by the actual page title with no space in between.
Other than it just looking wrong, I am concerned that doubling up of keywords will be harming my SEO.
I have set title and tag line under settings > general as blank in case that was duplicating with what has been inputted in yoast and that also doesn’t seem to be making a difference.
I found this in the header.php file for my theme, Ik think this is what is causing the issue.
<title><?php bloginfo(‘name’); ?> » <?php bloginfo(‘description’); ?><?php if ( is_single() ) { ?><?php } ?><?php wp_title(); ?></title>
I tried leaving the title tags blank so that it is only populated by whatever yoast puts in it but that is also having no effect.
Does anyone have any ideas?
- The topic ‘Duplicate content in meta page title using yoast’ is closed to new replies.