I\'ve restructured a WordPress site that\'s hosted on a Windows server, so I\'m trying to redirect with a web.config file. I\'ve tried dozens of variations from examples and
Try this one:
<rewrite> <rules> <rule name="WP Redirect" stopProcessing="true"> <match url="^wp/(.*)$" ignoreCase="false" /> <action type="Redirect" redirectType="Permanent" url="http://www.mysite.com/{R:1}" /> </rule> </rules> </rewrite>