Slick URLs in Movable Type
If you’re a dorkwad like me, you might’ve looked at the jotsheet URLs and seen that there’s no extension there: no .html, no .php, no .shtml. Here, I can prove it: http://underscorebleach.net/content/jotsheet/2003/11/eu_budget
How do I do that? Good question. But first, you ask, why do I do that?
- It makes the URLs future-proof: if my server-side approach (currently SSI) changes to PHP, there’s no need to change the file extension on all the files. Also, the same URL can be bookmarked, and you don’t have to mess with redirecting old URLs in a big honkin’ .htaccess (if you’d even bother with that).
- Since Google
- It looks cool. Nerd power. Uhh yeah
So, since it might be of some use to another small-time nerd out there, I figure I’ll share my approach to extensionless blog entries in Movable Type. It takes a little bit of doing, but by the time you’re done, you’ll be the coolest blogger on the block.