Well, I’ve been playing with mod_rewrite and I’ve finally got it working the way I like it. Of course, now I have to choose which type of link I like best.
I can actually link like this, if I have unique post titles: /post/mod-rewrite/
Or, using unique post titles within a given month, I can use any of the following:
- /January2004/mod-rewrite/
- /Jan2004/mod-rewrite/
- /Jan/2004/mod-rewrite/
- /January/2004/mod-rewrite/
- /Jan_2004/mod-rewrite/
Or even, the lower-case version of any of those links:
- /january2004/mod-rewrite/
- /jan2004/mod-rewrite/
- /jan/2004/mod-rewrite/
- /january/2004/mod-rewrite/
- /jan_2004/mod-rewrite/
Of course, I could just keep doing what I’m doing, and link with the full date, which allows me to repeat story titles as often as I want, as long as I don’t do it twice in one day: /2004/1/3/mod-rewrite/
Oh the choices … [ ] My favorite bit is how you can use any of these to link to the whole month, and get the front-page-style listing of all the posts in the month.