I have a store located at offshorepursuits.com/tackle, with tackle being a subweb of ofshorepursuits.com. I have built a new store at offshorepursuitspremiumtackle.com, and new anything pointing to /tackle and beyond to be redirected to offshorepursuitspremiumtackle.com.
Based on research, the below code should work, but i get an error (500).
<rewrite>
<rules>
<rule name="Rewrite to offshorepursuitspremiumtackle.com">
<match url="^Tackle/([0-9a-z]+)/>
<action type="Rewrite" url="http://www.offshorepursuitspremiumtackle.com" />
</rule>
</rules>
</rewrite>
I placed this at the beginning of the web.config file.
Thanks in advance. Dave