If you want to exclude a specific folder from a blanket redirect rule in Web.Config and this to your <condition>
<add input="{URL}" pattern="/path/folder/.*$" negate="true" ignoreCase="true" />