Are there no easy way to ensure that the permalinks only have the lowest child-category listed? Do I really need to install a plugin for this or make custom code? I already use RankMath to strip the category base, but hoped I could also force it to include the lowest child-category in URL.

Example of my current (unwanted) child category URL now: www.website.com/parent-cat/child-cat/ Example of my requested (needed) category URL now: www.website.com/child-cat/

I need to make sure that the possible implementation is friendly in future wordpress updates.

I have already read these threads:

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Dec 6, 2023 at 10:12


Your Answer

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

Browse other questions tagged or ask your own question.