Copied to clipboard

Flag this post as spam?

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


  • denisedelbando 139 posts 336 karma points
    Jun 18, 2014 @ 23:00
    denisedelbando
    0

    Umbraco WEBFORMS page rerouting

    Hello, 

    So i am using web forms umbraco 6. Client wants to beautify the urls for seo purposes. 

    I have been looking for hours how to do this but to no avail. 

    I know this is possible in webforms in global asax: Now i need to do this in umbraco. 

    routes.MapPageRoute("Support-HelpBlog-FilterYear",

                    "help/filter/date/{year}",

                    "~/Support/Help.aspx",

                    true,

                    null,

                    new RouteValueDictionary { { "year", @"\d{4}" } },

     

                    new RouteValueDictionary { { "section-name", "help-page" } });

     

     

    then Support/Help.aspx exists in the umbraco content tree.

    Please help. thank you

     

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Jun 20, 2014 @ 17:49
    Jan Skovgaard
    0

    Hi avatart0ph

    Have you tried looking at the /config/UrlRewriting.config file where you can add rewrites? As I understand your question this is what you're looking for.

    Hope this helps.

    /Jan

  • 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