I am having problems trying to get incoming URL rewrite working. I would like to have < http://www.healthandsafetystore.com/..> chgd to <http://healthandsafetystore.com/..> .
I have made the following chgs in web.config:
in <configSections>
Code:
<section name="rewrite" requirePermission="false" type="Microsoft.Web.Management.Iis.Rewrite, Microsoft.Web.Management.Iis" />
in <system.webServer>
Code:
<rewrite>
<rules>
<rule name="Redirect to nonWWW" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^www.healthandsafetystore.com$" />
</conditions>
<action type="Redirect" url="http://healthandsafetystore.com/{R:0}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
What am I missing? I am using ML v9013. Reason for doing this is that the SSL certificate is for nonWWW. Sometimes a Google link was WWW and when customer presses Add to Cart after selecting from Google, it states that site is not secure due to no certificate.
Any assistance would be appreciated.