Permalinks

I finally decided to attempt getting permalinks set up on this site. It’s been running for quite awhile without them, and it’s not like they are necessary, but it makes things look prettier. After some playing this morning I think I decided on the following format. I think I’ll go without a date in the URL. A bit of reading brought me to the conclusion that it’s not necessary. So, posts will look like the following:
http://www.maxsworld.org/index.php/content/postname

The how-tos section would look like:

http://www.maxsworld.org/index.php/how-tos/nagios

And the archives:

http://www.maxsworld.org/index.php/content/2006/06/

And categories:

http://www.maxsworld.org/index.php/content/category/general/

Simple and to the point I think. This is subject to change, but I think I like it how I have it setup. This makes things look much cleaner, especially for pointing others to the how-tos.

Another reason I decided against using date in the URL is because when you visit the site, you are presented with a calendar to choose specifically what day you’d like to view. If you hover over the day, you’ll get the posts for that particular day pop up anyways. So why clutter up the URL browser bar, I don’t see a need.

I went over all the sections and things seem to work ok, but if you find any broken links let me know please. I wasn’t able to get Apache to do true mod_rewrites, so I cheated and used the “almost pretty” method with dumping index.php in every URL. At least everyone won’t have to hit up a .htaccess file everytime they visit anyways. That just seems like more work for Apache to have to do when under load. I’m thinking some previous rule in Apache specified outside my virutal container is blocking the re-write. I think it’ll be fine the way it is, and one less thing to have to worry about maintaining. So anyways, that’s it for permalinks. Not like anyone reading this probably has the site RSS fed, but if so, I apologize if I broke anything. It’ll be better down the road. Again, I’m probably apologizing to one person. ;)

Posted in Geek Stuff.

Leave a Reply