Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • G X 6 posts 37 karma points
    Dec 17, 2012 @ 03:51
    G X
    0

    Mapping wildcard paths for routing in Umbraco

    Hi there,I'm updating a legacy site to use Umbraco. For its product inventory, t uses URLs such as the following:http://tempuri.org/product/toy-mousehttp://tempuri.org/product/inflatable-duck-with-hathttp://tempuri.org/product/talking-scorpionThe challenge is to upgrade the site and retain these URLs - including the legacy display of products, and mapping between the slug (e.g "toy-mouse") and the product.I've created a page called "Product" in Umbraco, and on this page I embed a user control which displays the Product details just as they were in the old system. But how do I point "product/" to this page, where "" is anything?If I use a query string parameter instead (e.g. tempuri.org/product?toy-mouse) this is easy, but as mentioned above I must retain the original URLs.Your help is hugely appreciated!Gary

Please Sign in or register to post replies

Write your reply to:

Draft