How to change custom path router of core router

System Information
  • Strapi Version: v4
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hello, I want to customize the path of a collection type data, I use the blog quickstart and I want to move /category/category-name to just /category-name and /article/article-name to /category-name/article-name

Can anyone help me?
Thanks