Site improvements, ISAPI_Rewrite with WordPress and IIS

Filed Under (Coding, Tech) by Mike Kauspedas on 08-09-2008

Tagged Under : ,

A while ago I fixed my site and improved the load time. I removed some bad add-ons for WordPress, did some upgrading etc. I just found a nice post on using ISAPI_Rewrite with WordPress so I gave it a shot on my site. I’m using version 2 so I added the following rules to my httpd.ini file.

RewriteRule /([0-9]{4})/([0-9]{1,2})/ /index.php\?year=$1&monthnum=$2 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?feed=$4&name=$3 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/(.*)/trackback/?$ /wp-trackback.php\?year=$1&monthnum=$2&name=$3 [I,U,O]
RewriteRule /category/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?category_name=$1&feed=$2 [I,U,O]
RewriteRule /category/(.*) /index.php\?category_name=$1 [I,U,O]
RewriteRule /author/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?author_name=$1&feed=$2 [I,U,O]
RewriteRule /author/?(.*) /index.php\?author_name=$1 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/?(.*) /index.php\?name=$3 [I,U,O]
RewriteRule /feed/(.*) /wp-rss2.php [I,U,O]
RewriteRule /comments/feed/(.*) /wp-commentsrss2.php [I,U,O]

Then I added this to my custom permalink string in wp-admin. 

/%year%/%monthnum%/%postname%/

Works great, I suppose it will help with SEO too.

Blog changed … why?

Filed Under (Coding, Regarding Mike) by Mike Kauspedas on 14-06-2007

Well, my little coding project is over and I wanted to keep blogging so I decided to take a look at WordPress. Its free, popular, and has lots of themes. It also seems to be pretty easy to edit as far as the look. It’s also very easily manageable and has lots of features, as well as additional plugins, etc. I also don’t know much about php and only a little about MySQL so I figured if I started using this software for a blog I would run into an issue where I needed to edit some code, and well nothing like forcing myself to do something. I had tried WP a while ago (years) and didn’t really like it. But this version and all the new features are great. And still being free is great too.

You can still see my old ColdFusion powered site here: http://www.mindaugas.us/oldblog/home.cfm

Get Adobe Flash playerPlugin by wpburn.com wordpress themes