I want to redirect the following 4 pages to the home page:
- http://www.phbalancedpool.com/pool-repair/pool_repair_arizona.html
- http://www.phbalancedpool.com/About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html
- http://www.phbalancedpool.com/specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html
- http://www.phbalancedpool.com/service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html
This is what I am currently using for my Web.config file:
<configuration></configuration>
<match url=".*"></match>
<add input="{HTTP_HOST}" pattern="^phbalancedpool.com$"></add>
<action type="Redirect" url="http://www.phbalancedpool.com/{R:0}" <="" span="">redirectType="Permanent" /></action>
<location path="pool-repair/pool_repair_arizona.html"></location>
<location path="About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html"></location>
<location path="specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html"></location>
<location path="service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html"></location>
Only the first one is actually redirecting and I can't figure out why. What do I need to do to fix this?