$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>plugin wp seo yoast - My WordPress website has 2 header|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

plugin wp seo yoast - My WordPress website has 2 header

matteradmin8PV0评论
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/

Post a comment

comment list (0)

  1. No comments so far