loads of useful information, examples and tutorials pertaining to web development utilizing asp.net, c#, vb, css, xhtml, javascript, sql, xml, ajax and everything else...

 






Permanent (301) redirect in IIS

by naspinski 2/25/2008 3:25:00 PM

Need send all the traffic from http://www.domain.com and http://domain.com to the same place?

This is a very common request, and it is very easy to do.  Not to mention it is great for SEO.  To do this, it is quite simple.

 

  1. In IIS, find your webiste you want redirect, right click and choose properties.
  2. Click the 'Home Directory' tab and click on the 'a redirection to a URL' radio button
  3. Enter the address to redirect to and check the 'A permanent redirection for this resource'

 

And you are done.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

iis | tutorials