I am getting several duplicate title tag and meta description errors that do not seem to even have pages associated with them (see examples within private content area). I did some research and found this article pointing to canonical settings. I went to my header.php and cannot find this snippet that should keep these pages from being created.
<?php if ( is_singular() ) { ?>
<link rel=”canonical” href=”<?php the_permalink(); ?>” />
<?php } ?>
Can you please tell me if this is likely to be the problem and if I should add it to the header.php (child theme)?
Or if not, what I can do to get rid of these errors?
OR I use the Yoast SEO Plugin and found this article and thought I’d pass it by you in case any of these things are problems.
Thanks for your help.
Hi Lynn!
I’d suggest using Yoast as it already has a fix for this issue:
https://yoast.com/wordpress/plugins/canonical/
Regards,
Josue
I already have Yoast installed and the canonical link is appearing in the <head>. Does that mean that I would need to set up as 301 redirects manually? I had someone else look at this who understand SEO better than I and they said it looked like the theme was creating ‘dummy’ pages and that was the problem.
Thanks for your help on this.
-Lynn
Hi Lynn!
To be honest i’m not an expert on this matter but i’m pretty sure this issue would happen with any other theme activated as these ‘dummy’ pages are actually being created by WordPress. I’ll ask the rest of the team to see if they can contribute with something.
Regards,
Josue