Copied to clipboard

Flag this post as spam?

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


  • Satish 1 post 21 karma points
    Aug 08, 2011 @ 15:28
    Satish
    0

    301 Url Redirect Pages From Old Site to New Umbraco Based Site -- infocasters doesn't work for HTML

    Hi All,

    We currently have  a static html website with a few dynamic ASP.NET Pages which we are currently migrating over to the Umbraco 4.7 CMS.

    we would like to 301 redirect the relevant html pages over to it's counterparts in the new site and 301 redirect  the remaining pages to the home page.

    We found "InfoCasters 301 URL Tracker" package and tried to use that however we were unable to redirect the html pages and tried the suggestion given on http://our.umbraco.org/projects/developer-tools/301-url-tracker/bug-reports/19029-Getting-InfoCasters-301-URL-Tracker-to-handle-starhtml-extensions-, however this also did not provide us with any solution, therefore any assistance would be much appreciated

    Satish

     

  • Amir Khan 1284 posts 2741 karma points
    Aug 08, 2011 @ 22:28
    Amir Khan
    0

    Have you tried adding things like the following to UrlRewriting.config?

    This is for a specific html page:

    <add name="redirectOldPge"
                   redirect="Domain"
                   ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
                   virtualUrl="/oldpage.html"
                   redirectMode="Permanent"
                   destinationUrl="/newpage" />
     

    This is to catch all incoming requests for .html pages:

    <add name="catchAll"
                   redirect="Domain"
                   ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
                   virtualUrl="/(.*).html"
                   redirectMode="Permanent"
                   destinationUrl="/" /
Please Sign in or register to post replies

Write your reply to:

Draft