Change url for products under products link
-
Hello,
in my site products url is in example.com/product-name format and i want to change that to example.com/products/product-name.
Please guide to do this.
Best Regards -
Thank you so much for your query,
Upon reading your query what i understood is that you want to change and customize your URL right.Previous URL -> example.com/product-name
Update URL -> example.com/products/product-nameYou can make the changes for the routes here.
packages/Webkul/Shop/src/Routes/store-front-routes.php
in case you want to know more you can let us know. We would really appreciate you.
-
This also is what I concern about. Formatting product, category, tag URLs like WooCommerce, for example:
/products/product-name/
/categories/category-name
In the file
packages/Webkul/Shop/src/Routes/store-front-routes.php
that seems there is not the code to format the product URL. @aghaeian Can you share the right code? Thanks. -
If someone could elaborate on this topic, it would be much appreciated. I can't find the right line in the store-front-routes.php either.