Is there a way to have multiple rewrite slugs for one post type?
Or, is there a way to not have the post type slug be the first slug in a URL?
My problem is this: I have a product custom post type and it needs to exist in three areas of a site because I have three markets that are pretty mutually exclusive from each other. So, I’d like to have three unique URLs so that I can do different things on each iteration of the page, based on which market section it’s in. I also want to take advance of caching and a CDN, so if I just have one URL, then I’m stuck with one static version of the page.
I’m still thinking through options, but this is one that came to mind — somehow having three versions of the URL somehow. Having three rewrite slugs might work… or if it was possible to have the CPT slug in a sub-directory.
Thoughts? Thank you.
- The topic ‘Multiple rewrite slugs for one post type?’ is closed to new replies.