Copied to clipboard

Flag this post as spam?

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


  • Torben 2 posts 82 karma points
    Apr 11, 2017 @ 06:13
    Torben
    0

    Custom "Catch All" route configuring

    Hi,

    I´m looking at migrating an existing ecommerce solution to Umbraco, for better content management.

    Products will not live in the umbraco db, but the issue i cant figure out to solve is:

    Today, all products have a "single level path", like,

    www.domain.com/product-name-1

    www.domain.com/product-name-2

    I´m going to change this, but still, i need to redirect all theese to the new url, plus, i have a large table of old urls, that also need to be redirectet.

    So the question is:

    Are there any relative easy way to optain this?

    I have looked at custom routes, but it is not clear to me, if these routes kick in before or after the standard Umbraco routes.

  • Yakov Lebski 594 posts 2350 karma points
    Apr 15, 2017 @ 14:23
    Yakov Lebski
    100

    I think better way to do it is to it with custom route and Virtual Node Handler https://our.umbraco.org/documentation/reference/routing/custom-routes, if you need to manage it on root and combine product from external source and content from Umbraco you can do it with ContentFinder.

    in any case, we are working on integration NopCommerce and Umbarco. We release first demo with managed route and we plan release second working demo in next week. http://www.nopcommerce.com/boards/t/41254/lets-discuss-the-upcoming-integration-of-nopcommerce-and-umbraco.aspx?p=9#186431

  • Torben 2 posts 82 karma points
    Apr 15, 2017 @ 18:56
    Torben
    0

    Hi,

    I cant find a good solution with custom route and Virtual Node Handler, as i dont want to handle every request, before the Umbraco logic.

    However, a custom content finder is what i was looking for!

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies