I have looked through all the asp redirects and they all say the same thing. I'm trying to redirect single .asp pages to new url. Here is the code I keep seeing and have tried placing at the beginning of the pages in question multiple times:
<%@Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader ( "Location","http://www.new-location.com" )
%>
It does not seem to work. It looks like typical .asp page swith the <@ Language=VBScript %>
at the top followed by html code. Is there another way to redirect single .asp pages?