Google Title Not Updating

serverlist

Newbie
Joined
Feb 7, 2013
Messages
7
Reaction score
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 :)
 
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
 
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

I see, thanks for the advice :D
 
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.
 
Back
Top