1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Title Not Updating

Discussion in 'White Hat SEO' started by serverlist, Sep 7, 2013.

  1. serverlist

    serverlist Newbie

    Joined:
    Feb 7, 2013
    Messages:
    7
    Likes Received:
    0
    Hey, I'm ranking pretty well for a keyword, but in the search results, a very non-SEO'd title shows up instead of the new title that I put for my site, which could be affecting my ranking.

    When you open up the site, the correct title pops up in the heading of the browser.

    I'm wondering what's causing that. Is it because my title tags are after the </html>? The reason for that is because my title is dynamic based on the page so I have the PHP set variables to accommodate the current page being viewed, then echo the title finally. However i'm not sure if that's the case.

    Thanks in advance for your help :)
     
  2. Junkfood00

    Junkfood00 Elite Member

    Joined:
    Sep 13, 2011
    Messages:
    1,949
    Likes Received:
    1,336
    Dafuq man! Ofcourse you should have the title tag inside <html> and it should be in <head>. If the html code is malformatted then that signals bad design and so leads to bad user experience which google won't credit any rankings.

    Use this in your .htaccess file to be able to use php code in html files:
    Code:
    AddType application/x-httpd-php .html .htm
    Just start and close php tags like usual in html, like: <title><?php getTitle(); ?></title> or whatever
     
  3. serverlist

    serverlist Newbie

    Joined:
    Feb 7, 2013
    Messages:
    7
    Likes Received:
    0
    I see, thanks for the advice :D
     
  4. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    As mentioned above sounds like you placed the title tag in the wrong portion of the code. Once you make the fix I'd recommend pinging your webpage to speed up the recrawl process with the correct title.

    Also, on some occasions Google will override your title tag if they feel they have a more appropriate title they can auto-generate based on one of their quality algorithms. Kind of like how when you don't have a meta description Google typically generates one for you to use in it's SERPS.