0

My Title tags same sentence show twice. please see it. how i can solve this problem . my site

1
  • anyone can tell me? Commented Oct 24, 2012 at 18:03

2 Answers 2

1

Go to the header.php file in your template folder and make sure that between the title tags, there's only this code:

<?php wp_title('');?>

That should do the trick. This error is a combination of your template files with standard settings of the Yoast SEO plugin.

3
  • where i include this code.. above i give my header.php code into my question. Commented Oct 24, 2012 at 15:37
  • here not show my full code please see from here desyfun.tk/wp-content/uploads/2012/10/Header-php.txt Commented Oct 24, 2012 at 15:46
  • Read my post again: you should make sure that's the only code between the title tags. This means, find the <title> tags, put the code in it and that's it. :)
    – Pieter
    Commented Oct 25, 2012 at 22:31
2

This can happen due to Yoast SEO plugin inserting it's own title. GO to http://yoursite.com/wp-admin/admin.php?page=wpseo_titles#top#home

enter image description here

6
  • then what i can do? Commented Oct 24, 2012 at 15:32
  • remove the "title template" string. This should reset it to whatever your template is serving Commented Oct 24, 2012 at 15:37
  • if i remove all title template then any effect of my seo? Commented Oct 24, 2012 at 15:48
  • Not all, just the one for the Homepage. Commented Oct 24, 2012 at 15:50
  • just the one in the screenshot I added Commented Oct 24, 2012 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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