category url format in nopcommerce
-
12-11-2019 - |
Question
I would like to know how I can make the url's for the categories static. For example http://localhost:3547/category/53-cellphones.aspx is what I have currently but yesterday it was http://localhost:3547/category/1-cellphones.aspx. I want to know how can I make the number in the category name static, e.g. 1-cellphones.aspx to be like that all the time, I don't want to be changed tomorrow to 3-cellphones.aspx for example. Is that possible? Thanks
Solution
This is normally the id of the category in the database.
Can you check the Nop_Category table and check you don't have duplicate rows.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow