Copied to clipboard

Flag this post as spam?

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


  • Paulvb 1 post 21 karma points
    Mar 04, 2013 @ 15:27
    Paulvb
    0

    URL rewrite question

    Hi,

    Im trying to create the following redirect.

    www.mydomain.co.uk > www.mydomain.co.uk/?lang=EN

    www.mydomain.nl > www.mydomain.nl/?lang=NL

    But when i do this with the following rule it will create an endless redirect

                        redirectMode="Temporary"
                   redirect="Domain"
                   ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
        virtualUrl="http://www.mydomain.nl/"
        destinationUrl="http://www.mydomain.nl/default.aspx?lang=NL" />

    I also tried the IIS7 rewrite module with no success. Any tips?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft