Comments are closed on this post. Please leave your thoughts on this original article.

One of the most confusing aspects of working with WordPress is managing its rewrite rules. For anyone who has taken a dive into the Rewrite API and looked at how it works, and how to customize it to fit your own needs can vouch for this.

Honestly, if you’ve ever done any work with custom post types, taxonomies, and permalinks and worked with the rewrite parameter (or perhaps have left it out), then you’ve experienced a little bit of the confusion (or frustration, perhaps) that can come with it.

For those who have been wrestling specifically with the latter, I wrote up a short guide for making sense of this occasionally confusing aspect of WordPress.

Custom Post Types, Taxonomies, and Permalinks

This weekend, I published a short guide on Tuts+ that aims to help make sense how custom post types, taxonomies, and permalinks all fit together.

Custom Post Types, Taxonomies, and Permalinks

The article is more of a quick tip rather than a full-on deep dive in the Rewrite API, the various ways to configure routes, and so on, but it does cover the following topics:

  • The basic rewrite configurations
  • Defining both custom post types and taxonomies
  • Understand the `rewrite` argument, how it should be used, and what its end results will be

Generally speaking, for anyone who has had trouble connecting the dots between these three features of WordPress, and is looking for a quick explanation, then be sure to check out the guide as it should help to demystify the relationship between some of these features, and help prevent some of the more common mistakes that others (read: we all) make.