Copied to clipboard

Flag this post as spam?

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

  • Giorgos Grispos 145 posts 179 karma points
    Jun 19, 2012 @ 09:38
    Giorgos Grispos

    301 redirect all pages for a multi language website

    Hi all,

    I am trying to set up my URLRewriting config so any URL from the old website which by the way has the following syntax

    redirect properly with 301 permanent mode to th proper current URL which wil lbe like te following

    I am trying the following, any ideas directions would be great guys,

    <add name="Eng-1" redirect="Domain" ignoreCase="true" rewriteUrlParameter="ExcludeFromClientQueryString" redirectMode="Permanent" virtualUrl="~/en/index.shtm" destinationUrl="/" />     

    I need to change domains on the destination URL!

    Cheers, Giorgos

  • Giorgos Grispos 145 posts 179 karma points
    Jun 19, 2012 @ 10:15
    Giorgos Grispos


    I got this suggestion from another post, I'll try to see if it works. Any other suggetions or your opinion on that would be great.

      <add name="Eng-5"
      virtualUrl="(.*)://" rewriteUrlParameter="IncludeQueryStringForRewrite"
      destinationUrl="$1://" ignoreCase="true" redirect="Domain" redirectMode="Permanent" />

    Cheers, Giorgos


Please Sign in or register to post replies

Write your reply to: