A Sharepoint library path has been changed from 'Shared%20Documents' to 'SharedDoc2024' I tried to use the URL Rewrite to redirect all traffic to the new path.
Pattern: ^(.)General-Accounting/Shared%20Documents/(.)$ Rewrite: {R:1}General-Accounting/SharedDoc2024/{R:2}
The pattern test worked fine. However, when I tested the address, no redirection happened. it still went to 'Shared20%Ducments'.
<rewrite>
<rules>
<rule name="FSC SharedDoc" stopProcessing="true">
<match url="^(.*)General-Accounting\/Shared%20Documents\/(.*)$" />
<action type="Redirect" url="{R:1}General-Accounting/SharedDocs2024/{R:2}" redirectType="Found" />
</rule>
</rules>
</rewrite>
