Copied to clipboard

Flag this post as spam?

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


  • Kevin 37 posts 57 karma points
    Nov 11, 2012 @ 09:55
    Kevin
    0

    UrlRewriting doesn't work after upgrading from Umbraco 4.19 to Umbraco 4.10.0

    I upgraded my website from Umbraco 4.19 to Umbraco 4.10.0 based on the official direction. I modified the web.config and other files in the /config folder as directed.

    However, I found the UrlRewriting doesn’t work in the upgraded website. The code of UrlRewriting.config is as follows:

    <urlrewritingnet rewriteOnlyVirtualUrls="true"

        contextItemsPrefix="QueryString"

        defaultProvider="RegEx"

        xmlns="http://www.urlrewriting.net/schemas/config/2006/07">

        <rewrites>

            <add name="TextPage"

               virtualUrl="~/(.*?)/(\d{1,3})/"

               rewriteUrlParameter="ExcludeFromClientQueryString"

               destinationUrl="~/$1.aspx?page=$2"

               ignoreCase="true" />

     

            <add name="TagList"

               virtualUrl="~/(\S+)-tags/"

               rewriteUrlParameter="ExcludeFromClientQueryString"

               destinationUrl="~/tags.aspx?tag=$1"

               ignoreCase="true" />

        </rewrites>

    </urlrewritingnet>

    I cannot found any solution for it because I don’t know how the UrlRewriting works. Could anybody tell me how I can solve the problem? Thanks.

     

  • Kevin 37 posts 57 karma points
    Nov 11, 2012 @ 10:09
    Kevin
    0

     The upgrading was from 4.9.1 to 4.10.0

    I just found the version of UrlRewritingNet.UrlRewriter.dll has been upgraded. The modified date of the old dll file is Oct 9 11:48 AM. The modified date of the new dll file is Oct 30 17:53 PM. Is there any new rules of the UrlRewriting.config?

  • Kevin 37 posts 57 karma points
    Nov 15, 2012 @ 10:31
    Kevin
    0

    Does anyone know how to solve the UrlRewriting problem of the Umbraco 4.10.0?

  • Kevin 37 posts 57 karma points
    Nov 20, 2012 @ 11:51
    Kevin
    0

    Finally I found the solution. Upgrade to Umbraco 4.10.1 and the issued was solved.

  • 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