The Dilemma
I have a few custom post types:
- Portfolio Items
- Testimonials
- FAQs
The URL structures for these custom post types are:
- mysite.com/portfolio/name-of-custom-post
- mysite.com/testimonial/name-of-custom-post
- mysite.com/faq/name-of-custom-post
I’d like to use the normal, built-in WordPress post type to control our blog entries, and have the URL for each blog entry be like this:
- mysite.com/blog/name-of-post
If I go to Settings > Permalinks and adjust the URL structure to be like…
/blog/%postname%/
…then the URLs for all of my post types are affected, which results in:
- mysite.com/blog/portfolio/name-of-custom-post
- mysite.com/blog/testimonial/name-of-custom-post
- etc…
The Question
What I’d like to know — is it possible to adjust the URL structure for the built-in WordPress post type without affecting the URL structure of other custom post types?
The only other way I see to solve my dilemma is to create another custom post type called “Blog.” This seems wasteful, because then I won’t be using the built-in WordPress post type at all.
If anyone needs it, The Why
If anyone wonders why I need “blog” in the URL so badly, it’s because we’re merging our blog into the same install as our site, and want to keep the URLs intact so we don’t lose valuable Google juice.
Any help is greatly appreciated — thanks!