Blog and Portfolio Permalinks
I am trying to achieve the below URL structure for blog and portfolio
IDEAL:
Blog overview: /blog/
Blog category: /blog/category/
Blog post: /blog/category/postname
Portfolio[use cases]:/use-case/
Individual portfolio page: /use-case/postname/
However, after editing the permalinks under settings https://ibb.co/5KjpX8L
and betheme>portfolio>slug: https://ibb.co/pjJWWWb,
it became this:
(correct) Blog overview: /blog/
(correct) Blog category: /blog/category/
(leads to 404) Blog post: /blog/category/postname
(wrong url) Portfolio[Use Case]:/blog/use-case/
(leads to 404) Individual portfolio page: /blog/use-case/postname/
How do I achieve my ideal URL structure? Please advise.
Comments
Hello,
Unfortunately, there is no setting in Betheme/WP to have the structure you showed above.
It is because Portfolio is kind of on the Blog link structure, and it causes all this mess.
To achieve that, you will have to do some modifications in Betheme/WP files. We do not support such changes and custom scripts, but maybe the following link will help you.
https://wordpress.stackexchange.com/questions/305372/change-permalinks-for-post-type-post-only
Best regards
Thanks. I will check it out.