Solved: Solution for How to Redirect non www to www in NopCommerce

The easiest method is to update your web.config file inside the <system.webServer> node with...

              <rule name="Redirect to WWW" stopProcessing="true">
                  <match url=".*" />
                      <add input="{HTTP_HOST}" pattern="^$" />
                  <action type="Redirect" url="{R:0}" redirectType="Permanent" />

This will keep your pages, URL parameters, links etc intact but redirect from NON-WWW to WWW of your domain name. It's also an SEO friendly method.

Popular posts from this blog

How to Delete WHM Mail Queue through SSH sent from a particular sender

how to change witribe wlan password? how to secure your witribe router

SOLVED: WHM/CPANEL Your server does not support the connection encryption type you have specified. Try changing the encryption method