Category Based Permalinks with Wordpress

As part of a site overhaul, I moved from date-based permalinks to category-based permalinks. I did this to segment the site by top-level categories, and to improve search engine friendliness. Many people argue that this is a superior permalink structure, but very few point out the downsides.

Broken URLs are the single biggest problem. The initial change isn’t a big deal. I used Dean Lee’s Permalinks Migration plugin to redirect all the old URLs to the appropriate new URLs. Watch out, though: whenever you change a category you will end up with a broken URL that’s the above plug-in does not fix. Also, if you change the name of one of your categories, all of the posts under that category will have changed URLs.


Standalone List Items in IE and Firefox

I ran into an annoying diference in the way IE7 and Firefox render pages. List items (<li>) not enclosed in a numbered or unnumbered list (<ul>, <ol>) display differently when the list is of type “none.” In IE, each list item’s first line will be indented, while in Firefox there is no indent. Setting margin or padding does not change this. The below code sample demostrates this issue.

<HEAD>
<STYLE type=”text/css”>
li {list-style: none;}
</STYLE>
</HEAD>

<BODY>

<LI>foo
<LI>bar
<LI>foobar

</BODY>


Please Excuse the Mess

This website has been a mess recently. Up, down, errors on the main page. Random items showing up new in the feed. All the old posts showing up new in the feed. I apologize. I’m done messing around, and things should work properly from this point forward.


Close
E-mail It