Moving my blog from Graffiti CMS to Wordpress

by fred on November 22, 2009 · 2 comments

in Code

Post image for Moving my blog from Graffiti CMS to Wordpress

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:

  1. 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 }

Andy January 6, 2010 at 2:46 am

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!

Reply

Christian Louboutin June 11, 2010 at 12:08 pm

A good article Thank you!

Reply

Leave a Comment

Previous post:

Next post: