Tuesday, January 12, 2010

301 redirect using IIS

To 301 redirect in IIS from http:// to https://,

1. Setup another site and set TCP port to 80 (original site uses other value).
2. Under "Home Directory",
Select "A redirection to a URL",
In Redirect to, type "https://www.example.com$S$Q

3. Check "The exact URL entered above" and "A Permanent redirection for this resource".

No comments: