Remove CPT name from permalink but add %category% instead

You have to set “hierarchical” => true in order to get %category% and %subcategory% to display: “rewrite” => array( “slug” => “producten”, “with_front” => false, “hierarchical” => true ), Don’t forget to flush permalink settings by opening settings → permalinks and save. More info: WordPress Codex: Function Reference/register post type

Custom Post Type with Same Page URL

How could there be a page 2 of the archives if you’re not allowing archives? This is also why it’s working that you can have an actual page at that url and add a loop…you’re adding that loop. If you change your url “announcements” to something else you’ll still see the first page of your … Read more