Copied to clipboard

Flag this post as spam?

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


  • Steven Salim 4 posts 74 karma points
    Jan 04, 2020 @ 21:29
    Steven Salim
    0

    Umbraco 8 - Page with wildcard URL

    Hello,

    Considering the following scenario where I have a page "Job-Details" page with default "http://{domain}/job-details", how could extend Umbraco to also resolve the following URL "http://{domain}/job-details/{category}/{jobTitle}/{jobID}" to the "Job-Details" page while retaining the new URL?

    I have tried custom routing and also URLProvider, but honestly quite confused when to use between the two.

    Thanks

    -Steven

  • Graham Davis 110 posts 376 karma points
    Jan 05, 2020 @ 03:45
    Graham Davis
    0

    When you defined your route, did you also create a controller to handle it?

  • Steven Salim 4 posts 74 karma points
    Jan 05, 2020 @ 11:19
    Steven Salim
    0

    Thanks Graham for the response, managed to solve the challenge via IContentFinder

    https://our.umbraco.com/documentation/reference/routing/request-pipeline/icontentfinder

  • 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