1

My WordPress website has 2 header and showing yoast plugin 2 times in source code. I want to delete one, so that its not show meta tags twice.

Is there anybody can help?

closed as off-topic by Jacob Peattie, Howdy_McGee Feb 22 at 5:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?" – Jacob Peattie, Howdy_McGee
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Do you have wp_head() twice in your theme? If you change the theme to a default one do you still have this problem? – Rup Feb 20 at 14:17
0

If you want to remove one meta tag that's showing twice then you can fix as like:

Google Search Console (former Google Webmaster Tools) reports you have duplicate meta titles or duplicate meta descriptions. Each URL should have unique meta tags so this is important to fix as soon as possible.

Unique URLs With Duplicate Meta Tags

If you have multiple unique URLs with the same meta tags, you may decide to:

Change the title of pages to distinguish between the duplicate pages. Add a Canonical URL to indicate which page search engines should index Set all but one page to noindex.

Subpages With Duplicate Meta or Title Tags

If you have paginated URLs with duplicate meta or title tags, you can

  • Add the page variable to the metas template for a site-wide fix for pages, posts, or taxonomies that do not have custom meta tags. This variable can be added by going to SEO -> Search Appearance -> Content Types OR Taxonomies (depending on where the issue is) and making sure the title field has the page variable: %%page%%.

  • Add the page variable directly to the page, post, or taxonomy for customized meta and title tags.

Parameter URLs With Duplicate Meta Tags

Google has advice on handling duplicate content caused by URL parameters here.

Other URL Formats

Google has even more advice on handling duplicate content here.


Follow reference:

1) https://kb.yoast.com/kb/how-do-i-fix-duplicate-meta-tags/

Not the answer you're looking for? Browse other questions tagged or ask your own question.