I am redirecting URL in the config file. This is what I am doing:
<rule name="award temp redirect" stopProcessing="true">
<match url="(.*?)/?award.aspx$" />
<action type="Redirect" url="http://www.abc.com.au/award.aspx" redirectType="Temporary" />
</rule>
This is working fine for /award.aspx
but I want to add for /awards
or /award
as well. Currently I have create separate rules for /awards
or /award
.
Can I add these two into one match. If the Url is /award.aspx
or /award
or /awards
then redirect to http://www.abc.com.au/award.aspx
.