WordPress SEO – keywords

I’ve been looking for a light WordPress SEO – Search Engine friendly plugin, but nothing quite cut it for me. So, I decided to use the excerpt text to insert into meta keywords, using this line of code in the header:

<meta name="keywords" content="<?php $excerpt = strip_tags(get_the_excerpt()); echo $excerpt; ?>"/>

It works really well, and no plugins needed!

One Response to “WordPress SEO – keywords”

  1. potatograss Says:

    Having done that, I noticed that keywords were appearing in the blog rss feed (rss uses the excerpt as a summary of the post)… Since that particular wp installation didn’t need rss feeds, I disabled it as per this instruction:

    http://wpengineer.com/disable-wordpress-feed/


Leave a Reply