Commerce 7.5 routing

Vote:
 

Hi

I have an upgraded site from CMS 7, Commerce R3 to 7.5. As the url handling of commerce items have changed I need reroute the items to fit the customers old url behavior. I need some pointers in the right direction.

The current urls looks like this:

//(n)/productcode.aspx

How do I achieve this in commerce 7.5?

Currently i´m using the default hierarchialrouter with SEO-flag set to true.

Br

Oskar Zetterberg

#112622
Nov 01, 2014 12:29
Vote:
 

I'm not sure about your <cmspage>, but I'm afraid you'll have to write a custom router for this. For the hierarchialrouter, there will be two types of URL:

- if Seo-flag set to true: <host>/<lang>/<seo-uri>

- if seo-flag set to false: <host>/<lang>/<catalog>/<node>/<node>/<entry-name>

Regards.

/Q

#112624
Nov 02, 2014 1:52
Vote:
 

Hi,

Hierarical router provides what Quan hav eexpliane dto you. 

with assumption that productcode.aspx is a SEO URL Key from url <host>/<lang>/<cmspage>(n)/productcode.aspx, Partial routing can be an approach to achive this can be achived by excluding the segment that comes after lang.

http://world.episerver.com/Blogs/Jonas-Bergqvist/Dates/2014/4/How-to-register-the-partial-routing-in-Commerce/

http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/75/Routing/Partial-routing/Example-of-News-partial-routing/

Regards
/K

#112669
Nov 03, 2014 15:55