Copied to clipboard

Flag this post as spam?

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


  • Sean 141 posts 179 karma points
    Dec 30, 2011 @ 23:29
    Sean
    0

    404 error returned when using UrlRewritingNet

    Hi There,

    I have some custom folders inside umbraco. I want to rewite the urls inside the folder to be friendly URL but I'm having no luck with it all.

    I have the following below.

    Can anyone tell me what I'm missing ?

     

        <add name="test"
    virtualUrl="^~/testfolder/(.*)/(.*).aspx"
    rewriteUrlParameter="ExcludeFromClientQueryString"
    destinationUrl="~/testfolder/products.aspx?c=$1&amp;s=$2"
    ignoreCase="true" />

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Dec 31, 2011 @ 21:32
    Sebastiaan Janssen
    0

    Do you really want to rewrite? You could just try and add the path to the umbracoReservedPaths configuration setting in the web.config instead if that helps..

  • 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