In this talk, we’ll demystify the Rewrite API and advanced permalink structures cookbook-style. We’ll go through cool tricks like adding custom taxonomy slugs to custom post type permalinks, adding multiple taxonomies to a URL to make one appear to be the “parent” of another, and splitting a post into virtual sections via permalinks. We’ll break down all of the rewrite API functions and learn when to use each. Lastly, we’ll go through changing permalink structures without a mess of 404s.