Today I learned how to create a 301 Moved Permanently web server response in Internet Information Server. This is very important if you change the filename of a web page that has already been indexed by the search engines. You should create a 301 redirect to preserve your page rank.
- Right click an individual file in the IIS Microsoft Management Console
- Click the “A redirection to a URL” radio button
- Check the “The exact URL entered above” checkbox
- Check the “A permanent redirection for this resource” checkbox
- Enter the new web address in the textbox labled “Redirect to:”
You can check the web server response code using a SEO tool found at http://www.seoconsultants.com/tools/headers.asp
SEO Consultants Directory Check Server Headers - Single URI Results Current Date and Time: 2006-11-24T10:38:15-0700 User IP Address: 71.241.71.176
#1 Server Response: http://www.caraccessories.com/answer_man.html HTTP Status Code: HTTP/1.1 301 Moved Permanently Content-Length: 167 Content-Type: text/html Location: http://www.caraccessories.com/answer_man.asp Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Date: Fri, 24 Nov 2006 18:38:15 GMT Connection: close Redirect Target: http://www.caraccessories.com/answer_man.asp
#2 Server Response: http://www.caraccessories.com/answer_man.asp HTTP Status Code: HTTP/1.1 200 OK Connection: close Date: Fri, 24 Nov 2006 18:38:15 GMT Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Content-Length: 14414