Jump to content

Converting Friendly URLs to contain only Reference Code for products and names for Categories


CesaBt

Recommended Posts

Hi all, I would like to convert all products' Friendly URLs to their "Reference Codes" (without any id or code), eg;

www.shopname.com/main-category/sub-category/referance-code-of-product

and convert all product categories' Friendly URLs to their "Category Names" (without any id or code), eg;

www.shopname.com/main-category/sub-category/...

 

Is there any way to do that with hack or better with addon? Thanks.

Edited by CesaBt (see edit history)
Link to comment
Share on other sites

i dont know any module that will create a friendly url in that way

but it can be done with really minor modification of pretty clean urls - module search for product by their name (friendly url)

so in this case it will be necessary to change the search function. IN effect module will search for reference then (instead name)

checked on my own - it works 

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...