Title: Duplicate title
Last modified: December 23, 2020

---

# Duplicate title

 *  Resolved [xeon2](https://wordpress.org/support/users/xeon2/)
 * (@xeon2)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/)
 * Hello
 * I discover that I have duplicate title for yoast seo v15.5, here’s my code under
   header.php
 *     ```
       <head>
           <title><?php wp_title(); ?></title>
           <meta charset="<?php bloginfo( 'charset' ); ?>" />
           <meta name="viewport" content="width=device-width, initial-scale=1" />
           <?php wp_head(); ?>
       </head>
       ```
   
 * But for v12.0, there’s no title duplication with the same setup? Here’s the html
   output.
 *     ```
           <title>Yet Another Blog</title>
           <meta charset="UTF-8" />
           <meta name="viewport" content="width=device-width, initial-scale=1" />
   
           <!-- This site is optimized with the Yoast SEO plugin v15.5 - https://yoast.com/wordpress/plugins/seo/ -->
           <title>Yet Another Blog</title>
       ```
   
 * I tested with new wp install, tweak the header.php and found exact the same issue.
   Is this intended behaviour? What’s the best way for me to resolve this?
 * Thank you
    -  This topic was modified 5 years, 5 months ago by [xeon2](https://wordpress.org/support/users/xeon2/).
    -  This topic was modified 5 years, 5 months ago by [xeon2](https://wordpress.org/support/users/xeon2/).

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

 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/#post-13825940)
 * [@xeon2](https://wordpress.org/support/users/xeon2/)
 * This issue occurs when the theme has no support for the WordPress title hook 
   or avoiding the title hook `add_theme_support( 'title-tag' );` and as such, both
   Yoast SEO and theme outputs multiple title tags. Therefore, you’ll need to reach
   out to the theme support and ask them to disable the theme title output and that
   shall fix the issue for you.
 *  Thread Starter [xeon2](https://wordpress.org/support/users/xeon2/)
 * (@xeon2)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/#post-13829423)
 * Thanks for reply.
 * Is there reason for why it is working previously and not with the latest update?
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/#post-13830249)
 * We are afraid to say that we are not quite exactly sure why the same code worked
   before but not anymore after updating to the latest version of the Yoast SEO 
   plugin. However, we do know that using the `wp_title()` in the `</title>` isn’t
   the best practice anymore and it is recommended to use the `add_theme_support('
   title-tag');` instead which should fix the issue for you.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/#post-13848610)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

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

The topic ‘Duplicate title’ 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/)

## Tags

 * [duplicate title](https://wordpress.org/support/topic-tag/duplicate-title/)

 * 4 replies
 * 4 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/duplicate-title-13/#post-13848610)
 * Status: resolved