Copied to clipboard

Flag this post as spam?

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


  • Gökhan Öztürk 6 posts 76 karma points
    Feb 03, 2023 @ 10:50
    Gökhan Öztürk
    0

    Can Url Change in SurfaceController?

    I use Umbraco 10,

    I have created a SurfaceController and I want to create a custom routing for it.

    Url like : /umbraco/surface/due-date-calculator/result/november-03

    Whereas, what I want is : /due-date-calculator/result/november-03

    I searched but found no results.

    Thanks for your help.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Feb 03, 2023 @ 11:00
    Dave Woestenborghs
    0

    Hi Gokhan,

    The short answer is no. Surface controllers are auto routed : https://docs.umbraco.com/umbraco-cms/reference/routing/surface-controllers

    Maybe you can explain a bit what you are trying to achieve. So we can come up with a solution.

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft