A customer had their website content in a subfolder on their site e.g. www.customersite.com/content. It has since been moved to the root folder e.g. www.customersite.com
We've added a IIS 301 redirect, to the site config that looks like this:
<rewrite>
<rules>
<rule name="Redirect to Root" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^customersite.com/content/$" />
</conditions>
<action type="Redirect" url="http://www.customersite.com/{R:0}"
redirectType="Permanent" />
</rule>
</rules>
</rewrite>
The site had links that looked like www.customersite.com/content/?p=12 would it be possible to change the redirect to automatically redirect to www.customersite.com/?p=12 if a user types in the old www.customersite.com/content/?p=12 address? If so how?
Thank you!