currently my website has around 40 main categories & around 250 sub categories and around 10K products.
my current url is like this….
site.com/1/electroncis (main category)
site.com/2/Headphones ( electronics > headphones)
—-now there are many parent and sub categories
what I want to do is following…
site.com/electroncis (main category)
site.com/electroncis/headphones (main > sub)
I have ID‘s in url’s so in my code i can grab the categoryID and return those matching products, my tables perform lookups using CategoryID (not the category name).
to accomplish what i want…do I need to create over 500 static rules within my web.config file? there has to be a better way of doing it.
Thanks
I dont really think its possible. clostest solution I came up with is to create rewriteMaps with key/value pairs
I can generate above tags using .NET and paste them into a .config file.