Break Free From SEO: Integrating the News_Keywords Meta Tag into WordPress
Writers and editors, rejoice! SEO deadened titles are no longer required for news articles now that the news keywords meta tag is available, sort of. Okay, so only those who write articles for Google News can truly do a happy dance and even then are still not completely free from SEO in titles, but this new release is still a big step for online content.
One of the big problems that the News team has been facing in the last few years has been that writers were forced to make awkward titles for their news articles so that the articles were optimized for both Google Search and News. In many cases, the titles were written by technical staff to make sure that the article was search engine optimized, often at the protest of the writers and editors. Because Search and News worked nearly the same, even though they are actually completely different systems, the approach to ranking well in both of those services meant keyword loading of the title. To combat this problem, just last September the Google News team rolled out the nifty news_keywords meta tag that Google News will now support.
Everybody wins...mostly. We'll get to the kinks at the end of this article. But, for the most part, readers can see a title that is interesting and engaging. Writers can write for the content, not search engines. Google News knows what the content of the article is related to, no matter what the title of the article is.
The Technical Stuff
Since the vast majority of sites are built around WordPress, I'll show you one way to quickly and easily implement this new meta in your WordPress site. I like to use the built-in WordPress tags as the news keywords since they're essentially the same thing - you should be tagging your articles based upon how someone might search for them. WordPress and other CMSs use tags in a similar fashion, so this technique can be easily applied elsewhere. Using PHP in the Header.php file, here's one way to quickly add this meta to your news site:<meta name="news_keywords" content="<?php
$posttags = get_the_tags();
if($posttags)
{
foreach($posttags as $tag)
{ echo $tag->name . ', '; }
}
?>" />
Again, this grabs whatever tags you have applied to your post and inserts them in a comma delimited format into your news_keywords meta. You can get far more sophisticated with this, of course.
I like to test whether or not the page or post has the news category assigned. Here's one way to test using the WordPress in_category() conditional tag:
<?php
if (in_category( 'News' ) == true ) {
echo '<meta name="news_keywords" content="';
$posttags = get_the_tags();
if($posttags) {
foreach($posttags as $tag) {
echo $tag->name . ', ';
}
}
echo '" />';
} ?>
This tests whether or not a post or page has a category of "News". If so, then it displays the tags in the news_keywords meta. If the post or page does not have a category of "News", then it ignores the news_keywords meta.
Thanks, implemented in my blog
Awesome! :)
Thanks !
This is a great little trick. Thanks for showing us exactly how to implement this new meta tag.
Thanks for sharing!!.
So useful and and well explained.
ALSO,
0. Use Google+.
Google is pushing it really hard right now.
1. Don’t guess at your keywords.
– use google adwords traffic estimator to accurately plan
– create emotionally surprising content for that keyword and related alternates
– compare traffic vs ctr vs conversion.
(the terms that bring the biggest traffic don’t always bring sales)
2. If you’re not a professionally trained writer, hire a college student for $35.
Google reads grammar. You’ll get penalized
3. Phone call bloggers.
Ask them to link to you. Offer unrefusable value back. They never get calls. You’ll stand out.
4. Use a high speed server.
Google wants to feel fast. They can’t if you’re site takes longer than 2 seconds to load. Use a site like Pingdom or other to test yours.
5. Join 20 DOFollow Discussion Forums.
Do NOT use the signature to place links. It’s all duplicate content. Personally write DIFFERENT signatures with varying anchor text links to your site.
6. Use Reddit under the right SUBREDDIT. It’s DoFollow.
And bloggers link to Reddit all the time
7. Don’t use directory links.
There’s an actually Google HELP doc that say’s you’ll be considered spammy
Partially stolen from sparkah.com/blog
Thanks for these awesome tips! You are right on…and I’m glad you included point #4. This is a big pet peeve of mine, since it is fairly easy to make a site run faster. :)
Didnt google dropped the keywords … It doesnt have any signigicance in SEO.
More line of code and loop … might increase the loading time …
No, Google still watches keywords, but you have to use them carefully. It’s all about relevance now – the more relevant your keyword is to the entire content, the more they will help improve your visibility on searches.
Thanks Tara.
Honestly I dropped using keywords. Thanks for waking me up.
I will do some studies on how to use them properly.