Jump to content

Simple htaccess redirect for categories and a product for hiding ID in url


Coluccini
 Share

Recommended Posts

Hi,

I have a store with only 2 categories with a few products and I would like to have the categories urls without the ID. Can I have this done with a few htaccess rewrite rules? (I won't be adding categories, so I don't want to make tons of changes in classes and controllers for having this done).

 

I also have on product that I want to have a more friendly url. There's a way to convert something like /category/13-product-name in /product-name?

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More