Page 1 of 1

URL Rewrite question

Posted: Thu May 29, 2014 9:24 am
by Rui
Hello,

The ablecommerce is doing Url rewriting by default on the pages category.aspx:
Domain/category.aspx?categoryid=12345 -> Domain/category name - C12345

Can please someone tell me where this is made?

I checked the URLRewrite of IIS and there is no rule for that pages.
I checked the configuration file ablecommerce.config and there's noithing about UrlRwrites.

Best Regards,
Rui Estreito

Re: URL Rewrite question

Posted: Thu May 29, 2014 12:12 pm
by jguengerich
It looks like it is in CommerceBuilder\Catalog\DefaultUrlGenerator.cs in the source code. DefualtUrlRewriter has methods to convert the other way.
Here's info on doing your own: http://wiki.ablecommerce.com/index.php/ ... ovider_API
More general info: http://wiki.ablecommerce.com/index.php/ ... or_AC_Gold