0

I have one site with two base pages - Private and Business. Example structure

Private

  • Blog
  • Pricing
  • Contacts

Business

  • Blog (another page, not the same as for private)
  • Pricing (another page, not the same as for private)
  • Contacts (another page, not the same as for private)

I need seperate permalink structure for blog articles. Currently if you open Private->Blog->Hello world the structure is http://example.com/hello-world. Needed structure is /private/blog/hello-world for Private pages and /business/blog/hello-world for Business page.

  • How are separate blogs implemented? Are they custom post types? Entirely separate WP installations? – Rarst Oct 18 '17 at 11:20
  • Currently they are same installation and same post type – slc Oct 18 '17 at 13:26
  • Then how do you distinguish between the two exactly? – Rarst Oct 18 '17 at 13:29
  • There is a category for private and business, but I am not sure this is the best way to do it. – slc Oct 18 '17 at 13:45
0

Go to Settings > Permalinks and set:

Custom Structure: /%category%/%postname%/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.