View Complete Thread
  • Re: URL Redirect with an exception

    Jul 09, 2019 08:37 AM|stc2000|LINK

    Hi Jalpa,

    Thanks for your help, I tried the above using (change site names):

    <rule name="site1.com.au" stopProcessing="true">
    <match url=".*" />
    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
    <add input="{HTTP_HOST}" pattern="^www.site1.com.au$" />
    <add input="{REQUEST_URI}" pattern="awards" negate="true" />
    </conditions>
    <action type="Redirect" url="https://www.site2.com.au/ {R:0}" />
    </rule>

    and I get a result of: 

    https://www.site2.com.au/%20awards

    which receives a page not found error, thanks again, could it be the DNS causing this?

    Cheers

    Alex