2 years, 11 months ago
How to redirect "non www" url to "www" url on a IIS web server?
I can't find the right way of redirecting "non www" to "www" pages on my IIS server. Meaning if someone type htxp://mysite.com it will convert the url into htxp://www.mysite.com
How do you precisely to the redirect.
Beware: This is not a question about apache BUT about IIS web servers!
A few info about my web server:
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
CMS Kentico
How do you precisely to the redirect.
Beware: This is not a question about apache BUT about IIS web servers!
A few info about my web server:
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
CMS Kentico
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$1 Answer
You need to implement a 301 redirect:
Inside “Internet Services Manager” click with the right button of the
mouse on the file or folder you want to redirect.
Select “a redirection to an url”
Type the destination page of the redirect.
Select “The exact url entered above” and “A permanente redirection
for this resource”.
Click “apply”.
Inside “Internet Services Manager” click with the right button of the
mouse on the file or folder you want to redirect.
Select “a redirection to an url”
Type the destination page of the redirect.
Select “The exact url entered above” and “A permanente redirection
for this resource”.
Click “apply”.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$
In my case the goal is to redirect all NON WWW to WWW urls. How can I list "any" "non www" to redirect to "any" "www" urls in Internet Services Manager?
Here's a link that explains it in detail: http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect#microsoft
Thanks for the url. It's clearly the best answer ;)