
After years of using Graffiti CMS from Telligent and waiting for updates to this very cool blogging platform, I decided to move on to Wordpress. Graffiti CMS was very SEO centric and I spend a fair amount of time configuring it to do what I wanted. I thought about staying on a .net platform since I am a .net developer, but the popularity of Wordpress and availability of some very awesome plugins made the decision easy.
And there are some others who had the same idea: Migrating blog from GraffitiCMS to WordPress and Now Running on Behistun and ASP.NET MVC
Here are some of the problems I ran across since my site runs under IIS 6.0:
- 403 errors when logging in – my ISP needed to make a change to allow script execution
- permalinks needed to be setup so the links would be formatted like this: http://domain.com/category/postname – see below for details.
How to setup Pretty Wordpress Permalinks on IIS
- create a file named wp-404-handler.php in the root of the WP folder with the following code:
<?php
$qs = $_SERVER['QUERY_STRING'];
$pos = strrpos($qs, '://');
$pos = strpos($qs, '/', $pos + 4);
$_SERVER['REQUEST_URI'] = substr($qs, $pos);
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include('index.php');
?>
- Go to Options -> Permalinks in your Wordpress admin page, and choose an appropriate structure for your links. I chose Custom with this pattern:
/%cateory%/%postname%/
Related posts:
- Unqualified Graffiti Theme Right now I’m using a modified version of the Unqualified for Graffiti Beta 2 theme by Dave Stokes. My changes were...


{ 2 comments… read them below or add one }
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!
A good article Thank you!