plugin wp seo yoast - My WordPress website has 2 header

admin2025-06-03  1

Closed. This question is off-topic. It is not currently accepting answers.

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?

Closed 6 years ago.

Improve this question

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. This question is off-topic. It is not currently accepting answers.

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?

Closed 6 years ago.

Improve this question

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?

Share Improve this question edited Feb 20, 2019 at 13:03 stefan 1 asked Feb 20, 2019 at 8:48 weblabzweblabz 112 bronze badges 1
  • 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 Commented Feb 20, 2019 at 14:17
Add a comment  | 

1 Answer 1

Reset to default 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

  • http://www.example/my-favorite-content/
  • http://www.example/my-favorite-content-again/

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

  • http://www.example/my-favorite-content/
  • http://www.example/my-favorite-content/page/20/

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

  • http://www.example/my-favorite-product/
  • http://www.example/my-favorite-product/?option=choice

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/kb/how-do-i-fix-duplicate-meta-tags/

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748885013a314529.html

最新回复(0)