anmbr Posted November 30, 2011 Share Posted November 30, 2011 Hi, 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? thanks. Sorry for my bad english. Link to comment Share on other sites More sharing options...
doekia Posted November 30, 2011 Share Posted November 30, 2011 Hi, No wories about your english, however, could pin-point what you try to achieve. Best, Link to comment Share on other sites More sharing options...
anmbr Posted December 1, 2011 Author Share Posted December 1, 2011 So, i try remove ID product from friendly url, like this: now i got: /category/ID-short-blue-oakley.html but i need to remove ID and link will be: /category/short-blue-oakley.html 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 More sharing options...
doekia Posted December 1, 2011 Share Posted December 1, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now