URL Rewrite question

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Rui
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Thu May 29, 2014 9:02 am

URL Rewrite question

Post by Rui » Thu May 29, 2014 9:24 am

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

jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Re: URL Rewrite question

Post by jguengerich » Thu May 29, 2014 12:12 pm

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
Jay

Post Reply