PDA

View Full Version : non www to www redirect on windows server



theshail
10-08-2012, 07:32 AM
I have a website which is hosted on windows server 7(IIS). My problem is it's index page is on aspx but rest of the pages are html. And I want to redirect all pages to www for non-www. I have no idea how to do it. Please anyone suggest me solution.

stefijain
10-12-2012, 07:58 AM
Hi,

this is same i m looking from long time. i have asked on forums too so many times for help, but i did not get any response from anyone. this is really painful in IIS server and i do not know how we can fix this issue.

thewebhostingdi
10-14-2012, 01:31 AM
You can use URL Rewrite option from IIS to perform this task.

Following article explains how to Rewrite URL:
IIS URL Rewrite (http://www.iis.net/downloads/microsoft/url-rewrite)

popartns
07-31-2013, 07:17 AM
Here's another good explanation for url redirection (http://winhosts.blogspot.com/2013/04/how-to-configure-iis-7-to-redirect-non.html).

Users which this procedure is too complicated, my suggestion is to use Google webmaster tools that allows you to select the preferred version of the URL. You can choose between the www or non www version.