There is a lot of amazing SEO power built into WordPress. Unfortunately it does not all come by default, and you might not know what is best when it comes to templates and options. Follow these simple rules for search engine optimization and your blog will rank much higher in Search Engines.
1. Optimize WordPress Permalinks
The most search-engine friendly permalink MUST includes the post title (%postname%) in the link,having keywords in your URL is an absolute must, In your WP admin panel, click on the "Options" tab, then the "Permalinks" sub-tab, and choose the option just below the "Default" permalink option. My suggest permalink structure is /%year%/%monthnum%/%postname%/ or /%year%/%monthnum%/%postname%.html .
2. Optimize WordPress Post Titles
The post title is the most important part of the blog post for many reasons. From your reader's perspective, a descriptive and compelling title helps them decide if your post is worth reading or not. From an SEO perspective, think about the keywords or phrases people might type into a search box to find your post, and use those words or phrases in your post title.
3. Optimize WordPress Page Titles
According to most SEO experts, the page title tag is one of the most important tags on your page. In most WP themes, you'll find the page title tag in the Header Template, and the default version ususally looks very poor SEO. I suggest you to use a WordPress plugin so call "All in One SEO Pack" to fix that problem.
4. Optimize WordPress robots.txt
The robots.txt file is used to instruct search engine robots about what pages on your website should be crawled and consequently indexed. Most websites have files and folders that are not relevant for search engines (like images or admin files) therefore creating a robots.txt file can actually improve your website indexation. Here is an SEO optimized WordPress robots.txt file.
User-agent: *
Disallow: /wp-
Disallow: /feed/
Disallow: /comments/feed
Disallow: /trackback/
5. Use Google Sitemaps Plugin
Google Sitemaps is an easy way for you to submit all your URLs to the Google index and get detailed reports about the visibility of your pages on Google. WordPress user Arne Brachold has made the sitemap creation and submission process fairly simple with his Google Sitemap plugin. This plugin will create a sitemap for you and submit it to Google.
6. Use Wordpress Anti-SPAM Plugin
Akismet is the best automated spam killer that actually gets better as it learns from the whole community marking new spam comments as spam.
7. Use Related Posts
Amaury BALMER's Simple Tags plugin is a perfect tool to manage perfeclty your WP 2.3 tags, which can show related posts on your post and rss feed. Not only does it enhance your blog's usability, but it also helps create a dense link structure throughout your site, which makes it easier for the search engine spiders to find and index older blog posts.
8. Use Ping services
Use the Update service function, to inform tracking services that you have updated your weblog. By default, Wordpress pings rpc.pingomatic.com, which is good (if you don’t want to change this, you don’t have to).
9. Make your content searchable
Make sure your navigation bar is present on all pages of your blog. Your previous posts or atleast the popular ones should be linked to all pages so they get spidered easily.
10. Update your blog frequently
Update your blog frequently using all the rules mentioned above and your blog will surely get top rankings in a short time.
If you have further SEO tips for WordPress blogs, I’d love to hear about them in the comments.
Wednesday, February 27, 2008
Monday, February 25, 2008
Micro-blogging: Chinese Twitter Clone Site
Twitter is a social network micro-blogging services. The Twitter Clones (micro-blogging services) and it looks like one of the Chinese Twitters are gaining popularity quickly. Here is the most popular Twitter-clone sites in China what I known.
FanFou - FanFou is the biggest Twitter-like site in China. It seems FanFou copied almost everything of Twitter, you can use FanFou to update "what are you doing" in less than 140 characters, it supports updating and receiving notification via Gtalk, MSN, QQ, mobile phone and web, you can follow the updates of your friends, and turn on/off the notification of your friends. It already has a wordpress plugin, maxthon plug and other 3rd party add ons. It also has two Twittervision-like mashups that put Tweets on the 3D globe and a 2D map of China. Xing Wang is Founder and Chief Executive Officer of FanFou.
JiWai.de - JiWai.de is the first Chinese brother of twitter: an online service that enables user to broadcast short messages to your friends or "followers." It also lets you specify which JiWai.de users you want to follow so you can read their messages in one place. Just like twitter, Jiwai supports updating through sms and gtalk. Updating from mobile phones onto jiwai.de, however, compared with Twitter, saves considerable money for Chinese users who want to use twitter-like stuff. To meet the demand of more Chinese users, Jiwai.de also supports updating from some other IMs, including MSN, skype, and QQ. Zhuohuan Li is Founder and Chief Executive Officer of JiWai.de.
TaoTao - Tencent QQ is the most popular IM in China. While Tencent has realized the value of micro-blogging, they launched a stand-alone service called Taotao. Not like FanFou, TaoTao only support updating from QQ and Web. It have no widget support. Since Tencent has the most extensive im user base, and the characteristics of this kind of micro-blogging service also match with profile of QQ's users.
Other Micro-blogging Site in China:
zuosa - http://zuosa.com
ilaodao - http://ilaodao.cn
komoo - http://komoo.cn
byuu - http://byuu.com
wulog - http://wulog.com
fish - http://fish.sh
laigula - http://laigula.com
FanFou - FanFou is the biggest Twitter-like site in China. It seems FanFou copied almost everything of Twitter, you can use FanFou to update "what are you doing" in less than 140 characters, it supports updating and receiving notification via Gtalk, MSN, QQ, mobile phone and web, you can follow the updates of your friends, and turn on/off the notification of your friends. It already has a wordpress plugin, maxthon plug and other 3rd party add ons. It also has two Twittervision-like mashups that put Tweets on the 3D globe and a 2D map of China. Xing Wang is Founder and Chief Executive Officer of FanFou.
JiWai.de - JiWai.de is the first Chinese brother of twitter: an online service that enables user to broadcast short messages to your friends or "followers." It also lets you specify which JiWai.de users you want to follow so you can read their messages in one place. Just like twitter, Jiwai supports updating through sms and gtalk. Updating from mobile phones onto jiwai.de, however, compared with Twitter, saves considerable money for Chinese users who want to use twitter-like stuff. To meet the demand of more Chinese users, Jiwai.de also supports updating from some other IMs, including MSN, skype, and QQ. Zhuohuan Li is Founder and Chief Executive Officer of JiWai.de.
TaoTao - Tencent QQ is the most popular IM in China. While Tencent has realized the value of micro-blogging, they launched a stand-alone service called Taotao. Not like FanFou, TaoTao only support updating from QQ and Web. It have no widget support. Since Tencent has the most extensive im user base, and the characteristics of this kind of micro-blogging service also match with profile of QQ's users.
Other Micro-blogging Site in China:
zuosa - http://zuosa.com
ilaodao - http://ilaodao.cn
komoo - http://komoo.cn
byuu - http://byuu.com
wulog - http://wulog.com
fish - http://fish.sh
laigula - http://laigula.com
Thursday, February 14, 2008
WordPress Mod Rewrite Make Subdirectory 404 Error
Last night, I getting lots of 404 error while using Google to search my own blog index page, I realized there is something wrong about my blog.
My user-created-outside-of-WP folder is throwing a 404 when trying to access it. Now for some details:
Blog www.moon-blog.com : normal WP blog. Permalinks "/%year%/%monthnum%/%postname%.html" through mod_rewrite in the default .htaccess file WP created.
Subdirectory www.moon-blog.com/MySubdirectory/): normal PHP application. User defind permalinks. Located at directory "/MySubdirectory/".
The problem is that the WordPress thinks My Subdirectory is 404, and do not allow Google to index my files.
I Try add some of php code into my php application to resolve this problem:
After adding that code, my PHP application in the subdirectory do not return 404 error again.
My user-created-outside-of-WP folder is throwing a 404 when trying to access it. Now for some details:
Blog www.moon-blog.com : normal WP blog. Permalinks "/%year%/%monthnum%/%postname%.html" through mod_rewrite in the default .htaccess file WP created.
Subdirectory www.moon-blog.com/MySubdirectory/): normal PHP application. User defind permalinks. Located at directory "/MySubdirectory/".
The problem is that the WordPress thinks My Subdirectory is 404, and do not allow Google to index my files.
I Try add some of php code into my php application to resolve this problem:
header("Status: 200 OK");
After adding that code, my PHP application in the subdirectory do not return 404 error again.
Tuesday, February 5, 2008
WordPress 2.3.3 Urgent Security Release
Attention please! WordPress 2.3.3 has release, with an important security update. WordPress 2.3.3 is an urgent security release. If you have registration enabled a flaw was found in the XML-RPC implementation such that a specially crafted request would allow a user to edit posts of other users on that blog. Unless you want registered users to be able to edit your blog posts, you should update your WordPress installation to version 2.3.3. In addition to fixing this security flaw, 2.3.3 fixes a few minor bugs. If you are interested only in the security fix, download the fixed version of xmlrpc.php and copy it over your existing xmlrpc.php.
You can get the latest version of WordPress here. Download it today, upgrade your previous installation and continue blogging!
You can get the latest version of WordPress here. Download it today, upgrade your previous installation and continue blogging!
Saturday, January 26, 2008
The Most Popular RSS Reader In China
For the reason of language, a lot of peoples use local RSS Reader in China. Here is the most popular RSS reader in China, except Google Reader and Bloglines.
ZhuaXia: An earlier professional RSS reader. But seems stop update now.
XianGuo: Another professional RSS reader, with a lot of function better than other. I think it is the best RSS reader in China.
YouDao: A RSS reader from the Netease, Netease is the most biggest website in China, and the third biggest portal website after Sina Corp and Sohu.
QQ reader: RSS reader from Tencent QQ. Tencent QQ is the most popular free instant messaging computer program in China, and the world's third most popular IM service.
ZhuaXia: An earlier professional RSS reader. But seems stop update now.
XianGuo: Another professional RSS reader, with a lot of function better than other. I think it is the best RSS reader in China.
YouDao: A RSS reader from the Netease, Netease is the most biggest website in China, and the third biggest portal website after Sina Corp and Sohu.
QQ reader: RSS reader from Tencent QQ. Tencent QQ is the most popular free instant messaging computer program in China, and the world's third most popular IM service.
Wednesday, January 16, 2008
WordPress MU Optimization Script
WordPress MU will be automatically established more than 10 tables when a new user register, so when a large number of users register will caused a lot of problem. Then I write some performance scripts can delete the WordPress MU inactive users.
The PHP source code as follows:
The PHP source code as follows:
$mysql_host = "localhost";
$mysql_user = "root";
$mysql_pass = "";
$mysql_db = "wordpress";
$mysql_mylink = mysql_connect($mysql_host, $mysql_user, $mysql_pass)
or die ("Cannot make the connection");
mysql_select_db($mysql_db, $mysql_mylink)
or die ("Cannot connect to the database");
$strsql="select * from wp_blogs where blog_id>2 ";
$rs_query = mysql_query($strsql);
$alls=mysql_num_rows($rs_query);
while (($RS = mysql_fetch_array($rs_query))) {
extract($RS);
$blogid=$RS["blog_id"];
$query2 = "select * from wp_".$blogid."_posts ";
$result = mysql_query($query2);
$num= mysql_num_rows($result);
//print $num;
if ($num<=2) {
print "DROP TABLE IF EXISTS wp_".$blogid."_comments;";
print "DROP TABLE IF EXISTS wp_".$blogid."_links ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_options ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_postmeta ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_posts ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_terms ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_term_relationships ;";
print "DROP TABLE IF EXISTS wp_".$blogid."_term_taxonomy ;";
print "DELETE from wp_blogs where blog_id=".$blogid.";";
}
}
mysql_close ();
Wednesday, January 9, 2008
Custom WordPress Database Error Page
From what i have mentioned before, we can use a program to monitor the WordPress MySQL server, when the server is down, WordPress will auto send an e-mail and write to a text log file in a recorded. Now, WordPress 2.3.2, the latest version of the popular blogging platform allows you to define a custom database error page.
It is very simple. Just follow the following steps and within a few minutes your custom database error page is ready!
First, upload a file named log.txt to the WordPress root directory, chmod it to 666.
Second, Download the file db-error.php and upload it to WordPress content directory(wp-content/db-error.php).
Finally, replace the e-mail address of the code to your own e-mail.
That's it! From now on this error file will be report the error whenever your WordPress blog has encountered some trouble connecting to the database server.
It is very simple. Just follow the following steps and within a few minutes your custom database error page is ready!
First, upload a file named log.txt to the WordPress root directory, chmod it to 666.
Second, Download the file db-error.php and upload it to WordPress content directory(wp-content/db-error.php).
Finally, replace the e-mail address of the code to your own e-mail.
That's it! From now on this error file will be report the error whenever your WordPress blog has encountered some trouble connecting to the database server.
Subscribe to:
Posts (Atom)