Click here to Skip to main content
15,030,781 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I am working on ecommerce project and my requirement is to rewrite the URL once the page is loaded with the previous URL in the address bar.

Ex:
CSS
Instead of displaying the following URL in the address bar:
http://www.test.com/Product/Product.aspx?groupID=2392&retailerID=12

I need to display:
http://www.test.com/Chocolates-Delicatessen/Chocolates/Nuts/CADBURY/CADBURY-DAIRY-MILK-FRUIT-NUT-TABLET-360G


The URL format is:
Home / [Category] / [Sub Category] / [Department] / [Brand Name] / [Product Name]

I googled for it and didn't get an accurate solution.

Any help with an example or suggestion would be greatly appreciated.

Thanks,
Posted
Updated 15-Apr-14 2:20am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900