And yet another WordPress plugin fell out of my hands. This one checks the current URL against the permalink WordPress has defined for the post, page or category you’re in, and redirects to that permalink if they don’t match. This prevents subcategories from being linked to directly without the main category in the URL, so /category/subcat/ will redirect to /category/maincat/subcat/, it prevents posts from being linked to with their post id, and it even prevents posts from missing the last slash in the URL. So here it is: the Permalink Redirect plugin.
If you’re wondering why that last slash is important, have a look at this:
Now I think that’s a pity… So if you install this plugin, this won’t happen to you!