I am migrating a currently static website to WordPress.

The pages (I am using pages, not posts and categories) have the following structure:

 Products (parent page)
 - Product 1 (child-page)
 - Product 2 (child-page)
 - Product 3 (child-page)

Custom permalink is:


Generated links are:


Now for SEO reasons, the old link for Product 2 was


How can I override the category for this page without creating a new parent page with the desired name?

  • your products are child pages of a parent page, how are categories involved? your permalinks setting has no relation to pages, only posts. – Milo Nov 30 '14 at 21:37
  • I have pages, not posts and categories. The permalink does influence pages as well. – Valentin Despa Nov 30 '14 at 21:38
  • 1
    the title and content of your question both say category, so what you're actually asking is how can a child page appear to have a different parent page without that parent page actually existing? – Milo Nov 30 '14 at 21:44
  • True, I mentioned categories, as the permalink is using the term categories. But you rephrased my question correctly. – Valentin Despa Nov 30 '14 at 21:48

The Rewrite_API will let you modify the slug and URI at many levels. You might need to come up with a custom page template for Product 2 that assigns the '/my-super-products' slug, but this should work for you.


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.