Title: Duplicated yoast code
Last modified: February 23, 2022

---

# Duplicated yoast code

 *  Resolved [amir1376](https://wordpress.org/support/users/amir1376/)
 * (@amir1376)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/)
 * Hi
 * my page’s source code shows duplicated yoast codes!
 * how can I solve this problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicated-yoast-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/#post-15396606)
 * Hello [@amir1376](https://wordpress.org/support/users/amir1376/)
 * Thanks for reaching out regarding your page source code.
 * However, the issue is not clear. Please provide us with screenshots that highlight
   the issue you are experiencing. You can use any image-sharing service like [https://pasteboard.co/](https://pasteboard.co/),
   [https://snag.gy/](https://snag.gy/), [https://imgur.com/](https://imgur.com/),
   [https://snipboard.io/](https://snipboard.io/), or even upload the screenshot
   to your own website. Once you upload it to an image sharing service, please share
   the link to the image here.
 *  Thread Starter [amir1376](https://wordpress.org/support/users/amir1376/)
 * (@amir1376)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/#post-15396765)
 * [https://pasteboard.co/3ZlCogzfLG72.jpg](https://pasteboard.co/3ZlCogzfLG72.jpg)
 * in this screenshot you can see lines 20 and 283 are the same and it cause some
   errors in google rich result.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/#post-15396926)
 * [@amir1376](https://wordpress.org/support/users/amir1376/) Thanks for your reply.
 * We checked on the image and the source code and do see the Yoast SEO metadata
   output twice as you described.
 * Can you please first confirm you are using WordPress 5.9.1? You can check by 
   clicking on the W in the top left and selecting About. If you need to update,
   please check with your host provider. Please know that if you are using an older
   version of WordPress Core you may experience unexpected behavior with Yoast. 
   This guide explains more: [https://yoast.com/why-we-dont-support-old-wordpress-versions/](https://yoast.com/why-we-dont-support-old-wordpress-versions/)
 * If you update to the most current version of WordPress and Yoast SEO, does this
   resolve the issue?
 * If you have confirmed both WordPress, Yoast SEO, and all of your site’s other
   plugins and themes are up to date and the problem is still occurring, we would
   next recommend performing a conflict check. A plugin or theme conflict can sometimes
   cause functionality problems, errors, or unexpected behavior from the plugin.
   If you are unfamiliar with checking for conflicts, we have a step by step guide
   on how to check for conflicts available here: [How to check for plugin conflicts](https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts/).
 * Test this on your development or staging site, if you have one. If not, we recommend
   using the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin. This plugin allows you to run a conflict check **without affecting normal
   visitors to your site**.
 * Can you please confirm you have performed a complete conflict check by disabling
   other plugins, and resetting the theme to a default such as [TwentyTwentyOne](https://wordpress.org/themes/twentytwentyone/)
   and let us know the results?
 * If you do not feel comfortable to do this yourself or if this does not solve 
   your issue, our [Yoast SEO Premium plugin](https://yoast.com/wordpress/plugins/seo/)
   comes with one year of (technical) support.
 *  Thread Starter [amir1376](https://wordpress.org/support/users/amir1376/)
 * (@amir1376)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/#post-15397247)
 * tnx
 * It got fixed after updating theme and wordpress

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Duplicated yoast code’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [amir1376](https://wordpress.org/support/users/amir1376/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/duplicated-yoast-code/#post-15397247)
 * Status: resolved