Copied to clipboard

Flag this post as spam?

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


  • denisedelbando 141 posts 339 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 11280 posts 23678 karma points MVP 11x 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

Please Sign in or register to post replies

Write your reply to:

Draft