301 Redirects in Classic ASP

Take the old-page.asp that is being renamed or moved and remove all of the code. Place the below code in place of the old HTML/XHMTL etc.

<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "/new-page.asp"
%>