Copied to clipboard

Flag this post as spam?

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


  • Tom Steer 161 posts 596 karma points
    Mar 14, 2014 @ 14:40
    Tom Steer
    0

    MVC Custom Route

    Hello

    Is it possible in Umbraco using custom routes or any other way to pass a paramter to the root url e.g. 

    www.mydomain.com/Param1
    www.mydomain.com/Param2 

    Where Param is a alphanumeric string. 

    I know I could do it if I had a reserved path that was expecting the parameter e.g. www.mydomain.com/parampage/Param1 but what i really what is for this to be possible on the root url.

    Hopefully that makes sense and someone may know a solution, from my what I have found currently it doesn't look possible.

    Cheers,

    Tom

  • Tom Steer 161 posts 596 karma points
    Mar 14, 2014 @ 14:51
    Tom Steer
    1

    Just came across IContentFinder which from reading the following documentation and this Gist example by Lee, looks likes just the thing I need to accomplish what i'm trying to do... Fingers Crossed :)

    http://our.umbraco.org/documentation/Reference/Request-Pipeline/IContentFinder

    https://gist.github.com/leekelleher/5966488

  • 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.

Please Sign in or register to post replies