Wordpress seo tutorial

WordPress gives you this dynamic URL for your post: “http://yourblog.com/?p=SOME-ID-NUMBER”, by default. The best SEO permalink structure is to have your post appears with ‘category’ and the ‘post title’ in the URL.

 

This looks something like this: “http://yourblog.com/category/post-title”

 

Change the Default Permalinks to ‘Category/Post-Title’ Permalinks

 

In order to change the default permalink structure, you need to go to “OPTIONS -> Permalinks” in your admin panel and paste this code into the BOX after “Custom Structure:”

/%category%/%postname%/

Next, click the “Update Permalink Structure >>” button; if WordPress does NOT automatically update the permalink structure to for you–don’t worry–just do the following:

 

-If you don’t have a .htaccess file in your root directory (public_html/.htaccess) already, just ‘create a new file’ and name it .htaccess and place it in “public_html” directory or whatever directory you have your WordPress blog installed (e.g. public_html/blog/.htaccess, which is equivalent to yourdomain.com/blog/.htaccess).

-Then, copy and paste the code WordPress gives you after clicking on the “Update Permalink Structure >>” button into your .htaccess file. *Note: You need to click on the some option (e.g. ‘Edit’) of your .htaccess file to open up a window to paste your permalink code in the file.

The code is same as following if you are using WordPress 2.0 or higher:

 

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

Just copy and paste that ‘mod-rewrite’ code into your .htaccess file, save it, and you are DONE!

 

You can use All In One SEO plugin for changing title and othe things.

Filed under: seo

Like this post? Subscribe to my RSS feed and get loads more!