WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Page Titles & Desciprtions Not Updating - Please Help (13 posts)

  1. musicdesigns
    Member
    Posted 2 years ago #

    Hi,

    Firstly I need to state that I know this is probably a fault with my theme but if I don't post here I will not be able to find out what I need to change.

    The plug-in does not update my homepage or page titles and descriptions.

    Can anyone tell me what I should be checking for in my theme?

    Any trouble shooting tips?

  2. musicdesigns
    Member
    Posted 2 years ago #

    I understand the first place to look is the header.php so I have pasted what mine contains.

    http://pastie.org/1888582

    Any ideas?

  3. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    You should change what's inbetween those <title> tags to simply this:

    <title><?php wp_title(''); ?></title>

    Also these two lines:

    <meta name="keywords" content="<?php wp_title(); echo ' , '; bloginfo( 'name' ); echo ' , '; bloginfo( 'description' ); ?>" />
      <meta name="description" content="<?php wp_title(); echo ' | '; bloginfo( 'description' ); ?>" />

    should be removed from your theme entirely.

  4. musicdesigns
    Member
    Posted 2 years ago #

    Hi Joost Many thanks for the answer, I am coding it now.

    I will see how Google reads it and report back.

    Thanks again.

  5. musicdesigns
    Member
    Posted 2 years ago #

    Hi Joost, this has fixed my title duplication issue, I will give Google some time to update to see if the meta description issue has been corrected.

    One question: How will I know that my keywords are working correctly and being read by Search Engines?

  6. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    you won't, meta keywords are useless.

  7. musicdesigns
    Member
    Posted 2 years ago #

    Hi Joost.

    Google has now updated my titles and descriptions. The title is now correct.

    But the description is incorrect.

    Google has used "page title + WordPress site description"

    So this is the snippet of what is should be:

    http://i.imgur.com/mcuCW.png

    And This is what Google displays:

    http://i.imgur.com/PJ3xB.png

    This is how my Header.php now looks:

    http://pastie.org/1896394

    Any ideas what could be going wrong?

  8. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    You didn't remove the following from your header.php as I told you above:

    <meta name="keywords" content="<?php wp_title(); echo ' , '; bloginfo( 'name' ); echo ' , '; bloginfo( 'description' ); ?>" />
        <meta name="description" content="<?php wp_title(); echo ' | '; bloginfo( 'description' ); ?>" />

    Once you remove that you should be OK.

  9. musicdesigns
    Member
    Posted 2 years ago #

    Sorry I misunderstood, will do it now.

    Thank you

  10. musicdesigns
    Member
    Posted 2 years ago #

    Hi Joost, sorry to bother you.

    I still must have something wrong in header.php the descriptions will not update on Google.

    Header.php - http://pastie.org/1904540

    Any thoughts?

  11. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    I'm guessing you'll need to wait a few days for Google to update the index for you.

  12. musicdesigns
    Member
    Posted 2 years ago #

    You guessed right.

    Everything seems to be running smoothly, thanks for your time Joost.

    You know your stuff!

  13. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for updating, glad to hear it works ok now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic