I have a URL: www.example.com/banana-lp

and I want to change it's URL to www.example.com/lp/banana

I have been searching for how to do this everywhere but only found how to get this done by "posts" and not "pages".

  • So you have a page with slug 'banana-lp' and you want to make it 'lp/banana', that mean you will more pages under 'lp' right? – Rituparna sonowal Aug 28 '16 at 8:51

There is very simple way to do this:

  1. Make a page with slug 'lp' or whatever you want

  2. Then create page with slug 'banana' and set the previously created page 'lp' as it's parent from the parent dropdown list.

  3. Do the same process for other pages whom you want to display like 'lp/otherpages'

You can also add category support for pages via coding but I think the above points will solve your problem.

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.