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 a separate 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 pages.

4
  • How are separate blogs implemented? Are they custom post types? Entirely separate WP installations?
    – Rarst
    Commented Oct 18, 2017 at 11:20
  • Currently they are same installation and same post type
    – slc
    Commented Oct 18, 2017 at 13:26
  • Then how do you distinguish between the two exactly?
    – Rarst
    Commented Oct 18, 2017 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
    Commented Oct 18, 2017 at 13:45

1 Answer 1

0

Go to Settings > Permalinks and set:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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