Hi @MEccle$ ,
Yes you are right, the order of configuration affects the order in which this function is matched.
Based on your description, I did some test and reproduced your issue on localhost. The mainly problem is the match rule regular expression <match url="^about/contact/" />
.
You need to pay attention to every symbol of it, and in your case you seem to be adding an extra /
sign at the end. This will result in no match for www.example.com/about/contact
, you must type the full address correctly: www.example.com/about/contact/
to match it.
Therefore, you need to modify this configuration to something like this:
<rule name="Contact Page Redirect" enabled="true" stopProcessing="true">
<match url="^about/contact" />
.............
.............
</rule>
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.