New ‘Blog Launched

I have successfully converted my blog from my own ‘homegrown’ software to the ubiquitous WordPress. I think my time can be better spent than reinventing the wheel, especially when it is available free and easily amended in open source form.

I have diverted old URL links including the RSS feeds using Apache’s mod_rewrite.

Here is an example of the code I used, placed in an htaccess file:

RewriteEngine on
RewriteBase /
RewriteRule ^blog_rss.php$ /articles/feed/ [R=301,L]

This code rewrites any requests to blog_rss.php to /articles/feed so that any requests from the old feed are now redirected with a HTTP 301 response header to the new feed. The ‘L’ indicates that this is the last change the RewriteRule should make, effectively ignoring any rules that may come after this.

RFC2616 from W3 specifies HTTP 301 as ‘Moved Permanently.’ Using this code should help search engines like Google, Ask and Yahoo to update their indexes. I’ve done my part by following the published standards.

WordPress also links nicely to Microsoft Word 2007, so I can take advantage of its grammar and spelling checkers, and the useful feature of holding down Alt and clicking on a word to access research tools such as dictionaries and a thesaurus. Skatter Tech’s article describes how to connect Word 2007’s Blog feature to WordPress.

I’d like to see WordPress supporting SQLite, but it looks like this isn’t on the cards for some time.

With the burden of making my own blogging software removed, I intend to be posting more interesting articles in the future. I hope to be posting on more varied subjects than just web technology. If there is anything you’d like to hear about, please leave a comment. You’ll also get a funny avatar monster made for you if you comment 🙂