I’ll definitely plan on adding some more info about this but when registering a custom post type you can ‘piggyback’ a Page’s permalink, which is what I do often. So to elaborate on the example from the article:
We have a WordPress Page for About which sits at http://example.com/about/
We have a CPT (Team) registered that 'has_archive' = true and 'rewrite' => array( 'slug' => 'about/team', 'with_front' => false ) so the CPT archive will sit at http://example.com/about/team/
Lastly, each entry in the CPT will be prefixed by the CPT rewrite slug so each will sit at http://example.com/about/team/john-doe, for example.
I hope I understood the question correctly but if not give me a shout!
Thread Starter
mrwweb
(@mrwweb)
That makes total sense and perfectly answers my question. Thanks! I was just concerned that the modified slug might have hijacked the post type archive functions. However, that’s just how I’d want it to work 🙂