Copied to clipboard

Flag this post as spam?

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


  • Luis Pedro Pereira 13 posts 93 karma points
    Oct 08, 2018 @ 11:11
    Luis Pedro Pereira
    0

    URL Tracker trouble

    Hello all.

    I want that when people write my url/customer/_customer_name to be redirected to this page/view url/customers/?id=_customer_name

    I'm having difficulties setting this rule:

    input: ~/customer/$customer_name

    where 'customer' page doesn´t exist (virtual) $customer_name is the document name of my customer

    output ~/customers/?id=$customer_name 'customers' existing document/page.

    Can someone help pls ;) Tak

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Oct 08, 2018 @ 11:35
    Dave Woestenborghs
    102

    Hi Luis,

    I think what you are looking for are custom routes :

    https://our.umbraco.com/documentation/Reference/Routing/custom-routes

    Take a look at the documentation and let us know if you need more help.

    Dave

  • Luis Pedro Pereira 13 posts 93 karma points
    Oct 09, 2018 @ 07:56
    Luis Pedro Pereira
    0

    Thanks for the hint Dave.

Please Sign in or register to post replies

Write your reply to:

Draft