I'd like to have a URL links consistent with menus on the page. For example:

  • Menu1:
    • Submenu1
      • item1
      • item2
    • Submenu2
      • item3
      • item4
  • Menu2:
    • Submenu...
      • etc..

The corresponding links shoud be:

  • myweb.com/menu1/submenu1/item1
  • myweb.com/menu1/submenu1/item1
  • etc.

However, the links are

  • myweb.com/item1
  • myweb.com/item2
  • etc.

How can I fix this?

  • You need to create the hierarchy using page parents. So edit "Item 1" and set it's parent to "Submenu1". Then edit "Submenu1" and set it's parent to "Menu1" etc. Sep 29, 2015 at 9:33
  • Thanks! Seems like that's the way to go. I will experiment. Please add a more detailed info as answer (not as comment) so I can accept it. Please mention where exactly to set "parents".
    – Danijel
    Sep 29, 2015 at 9:57

1 Answer 1


You need to create the hierarchy using page parents. Either use quick edit, or go through each page and set it's parent, so that you end up with:

  • Menu1
    • Submenu1 (Menu1 is parent)
      • Item1 (Submenu1 is parent)

enter image description here


Your Answer

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

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