I want to add prefix in category and product urls of Magneto 2.3.4.

I was able to add prefix in product urls but not working on category urls.

Please guide.

2 Answers 2


Please check below ways which are working solution to add a prefix before the category and products URLs


Magento 2 .2 - How to add Static Product Prefix to Product Url?

Check it out you will get the idea and let me know if you still need any help.

Thank You

  • 1
    This is only for product url prefix. Check my answer Aug 31, 2020 at 9:23

Add a static URL prefix for product and category Magento 2

It worked fine. After the fix I rewrite all url via olegkoval extension

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.