Jump to content

[Help] Remove id from friendly url


Recommended Posts



i've trouble with friendly url, i follow the same steps that site, but in my shop ID showing in URL, and i can't remove this.


I've found topics with this problem, but all these are closed.


Someone can help me?



Sorry for my bad english.

Link to comment
Share on other sites

So, i try remove ID product from friendly url, like this:


now i got:




but i need to remove ID and link will be:




Understand? I activate friendly url, and generate htaccess, but i don't know how remove ID from link..

Link to comment
Share on other sites

currently there no off-the-shelf way to achieve what you want.


You need to create one Rewrite rule for each category you want to behave the way you want. That will provide a way for visitor to reach the category without the need for ID however, link generated by prestashop will contain the ID unless you implement an override on the class link.


It is plan than the future version 1.5 will handle url thru a route-controller that should provide a ad-hoc answer but today you have to make those rules manually which can be a pain if you catalog moves a lot. Each time you'll have to rewrite the rules

Link to comment
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
  • Create New...