categories – How to add custom prefix before category-base-slug in category pages url?


Is it possible to add a custom prefix right before the category-base-slug of the category pages url?

In this Category Page URL the category-base-slug of it is category and the term is top-10

then add custom prefix so the output will be like this:

I’ve read the add_rewrite_rule() but I don’t really get how to apply it to this approach, is there any documentation that you could point me out or any existing similar question here?

agent abstract 1 year 2023-01-17T16:53:15-05:00 0 Answers 0 views 0

Leave an answer