How to SEO Your Wordpress Theme
SEO is a good way to improve the website traffic of your blog, and there’s a plugin named All in one SEO pack can make your wordpress blog more friendly to search engines. But you might know how verbose the setting in All in one SEO pack was, if you have installed that wordpress plugin.
In fact, you can do the SEO job with adding some code in the wordpress theme header.php file instead of using the SEO plugin, and no setting any more!!

The first thing is optimizing the blog title and post title. Copy and paste the code replace the title code in header.php file before <?php wp_head(); ?>.
<?php if (is_single() || is_page() || is_archive()) { ?> <?php wp_title('',true); ?> | <?php } bloginfo('name'); ?>
Secondly, optimize the description and keywords, copy and paste the code after </title> label.
<? if (is_home()){ $description = "your description "; $keywords = "your keywords"; } elseif (is_single()){ if ($post->post_excerpt) { $description = $post->post_excerpt; } else { $description = substr(strip_tags($post->post_content),0,220); } $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; }} ?> <meta name="keywords" content="<?=$keywords?>" /> <meta name="description" content="<?=$description?>" />
It will show the description and keywords you set when it’s at the home page. When it’s in the single post page, it will get the post tags as the keywords, and get the post excerpt or the first 220 chars of the post as the description.










对了,看你也在做payingpost,这个广告商话题比较少,而且去晚了可能会要求完。你每天下午3点半左右去看看,基本可能会有!
@WebAboutMoney:我到现在都没有接到过PayingPost的软文,我加入的时间不长,才几天啊。。
这里的软文几乎都是在Linkworth上接到的。。
@stephen linkworth上的单价似乎不高啊。
@望月 软文是不怎么行,但是链接的价格还是不错,跟TLA差不多。