Here is the situation: let say I have a page called Press and that page has this url:

Now, let say that I have a category Press (slug is press) and subcategory called News and it's content is available on

I want to rewrite the category URL so every time someone types should get:

If there is a post in this category, then the URL should look like:

Is this possible and how?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.