new computing category & .htaccess files

EDIT: Refer to here for where I resolved the .htaccess redirect problem outlined below.

I have decided to put all my discussion, recommendations, and explanations of computing stuff into a blog category rather than one long page, since it became too long a page to update. Also, no one knew when the page was updated or not, and the content quickly became out-dated. Putting it all into blog categories also allows browsers to read the page with caution, and provide comments to myself and other browsers.

Currently at the time of writing this, I have saved all the

software-i-use

page into post drafts under appropriate computing categories, and you will see it all pop up over the next couple weeks as I check the content and re-publish it.

I also added a neat redirect to my root .htaccess file, so now it looks like this:

# BEGIN WordPress

RewriteEngine On
RewriteRule ^journal/(.+)?$ http://tombammann.org/$1 [QSA,L]
Redirect /journal http://tombammann.org
RewriteRule ^software-i-use/(.+)?$ http://tombammann.org/$1 [QSA,L]
Redirect /software-i-use http://tombammann.org/category/computing
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php

# END WordPress

The two lines about journal was when I moved the blog from http://tombammann.org/journal to http://tombammann.org. I can’t remember anything about what the commands mean, but I just copied and pasted those two lines to convert any hits to the old software page to the root computing category. However, this also means that a hit to say http://tombammann.org/software-i-use/mozilla-thunderbird will be converted to http://tombammann.org/category/computing/mozilla-thunderbird (which will no longer exist), so I will have to fix this in the nearish future, otherwise someone might be in for a nasty surprise when they get my latest 404 :P I guess I’ll make any URL beginning with http://tombammann.org/software-i-use be send to the fixed URL of http://tombammann.org/category/computing.

What has really pi**ed me off writing this post right now, is I had to use this conversion form to convert the above code into HTML format, despite using the html <code> tags. I mean what is the point of a html <code> tag if it doesn’t display html <code>!? All it does is change the font style!! Silly!!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>