Seo for WordPress – Making WordPress Search Engine Optimized

WordPress SEO Starts with a Clean Search Engine Friendly URL

May 8, 2007 · 3 Comments

Running a WordPress Blog is best done on you own Domain, and for the best results you need to create Search Engine Friendly URL’s.
This means instead of a post link like http://seo4wordpress.wordpress.com/page=33 (example) you get links to http://seo4wordpress.wordpress.com/2007/03/31/the-beginning-of-search-engine-optimization-for-wordpress/

If you want to use the permalinks option to get clean urls, there are three conditions you have to meet:

Conditions: 

  • Webserver running on a Unix or Linux Distribution (Windows is possible, but much harder)
  • Webserver software you use is Apache with the MOD_Rewrite module active (Most hosting servers provide this)
  • Use of you own .htaccess file.

If your webhosting provider is running these options, as said most of the do, you are ready to activate the permalinks option.

Login to you administration panel and go to the Options menu and then choose for Permalinks.
Tick the option – Custom and use then /%postname%/ for the best results.

WordPress will not let you create the same post slugs so you don’t need to be affraid that you get duplicate urls..

The .htaccess File

Once you set the option, you get an update of the field content below that shows you the content of what is going to be your .htaccess file.

If you uploaded an empty .htaccess file and made sure it was writable WordPress would have filled it for you.

If you didn’t you need to copy and past the content of that field into an empty file created with Notepad, Not Word or any other wordprocessor, because you need a flat file.

Save it as htaccess.txt and then upload it to your root directory of your wordpress installation.
Once you have done that, set the permissions to 707 and rename the file to .htacess.

Most FTP Programs will not show you the file anymore, than the . files are hidden files in Unix.
Fillezilla has an option to show you these hidden files.

If you did everything the right way, you should now see your URL as mentioned above.

Categories: SEO · Search Engine Optimization · WordPress SEO

3 responses so far ↓

  • junchi71 // May 11, 2007 at 3:07 am

    Thanks for the tip.

    I was wondering how these Url’s where produced.

    So much information to gather and take in.

    I am in to much of a hurry.

    Thanks
    Ken Wong
    http:www.kenwong.com.au

    BTW i Borrowed your complete post and aded a link, i just wanted to keep this info of my self so I don’t forget how to….so to speak….

  • Hummerbie // May 16, 2007 at 12:06 pm

    @Ken

    Make sure that you place your wordpress created .htacces file in the blog subdirectory of your website.

    Looks like you installed wordpress in this sub, wich is not a problem, but your .htacces should be in that directory.

    Also make sure your hosting has the Mod_Rewrite module installed (if you are on Apache) and active.
    Otherwise contact your hosting provider.

  • Bala Krishna // September 18, 2007 at 7:49 pm

    I have already installed it on my website and using permalink for seo friendly urls. This is good for the guys they are not aware of seo friendly features.

    Many Thanks

Leave a Comment