Copied to clipboard

Flag this post as spam?

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


  • Partha Ghosh 9 posts 64 karma points
    Dec 03, 2014 @ 18:06
    Partha Ghosh
    0

    urlrewriting help

    hello,

    I need some help in URL Rewriting. I want to refer air-cooled-chillers.aspx as old-air-cooled-chillers.aspx. I need it hard-coded (without parameter) because the rewriting will be required for this page only. Please help me with the rewrite rule.

    regards,

    Partha

     

  • jivan thapa 194 posts 681 karma points
    Dec 03, 2014 @ 19:26
    jivan thapa
    100

    Hi, Partha, You can setup urlrewrite rules easily. You can add new rule inside UrlRewriting config file located into ~/config/UrlRewriting.config

    <rewrites>   
        <add name="produktidrewrite"
            virtualUrl="^~/old-air-cooled-chillers.aspx"
            rewriteUrlParameter="ExcludeFromClientQueryString"
            destinationUrl="~/air-cooled-chillers.aspx"
            ignoreCase="true" />    
      </rewrites>
    

    What version of Umbraco are you using?

  • Partha Ghosh 9 posts 64 karma points
    Dec 09, 2014 @ 12:59
    Partha Ghosh
    0

    I am using Umbraco 4. Thanks for the Help.

  • 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