Thursday, April 06, 2006

redirects

For an asp use

<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.example.com/yourpage.asp"
%>

If the page is html use a javascript (if mod-rewrite is not installed)

<SCRIPT LANGUAGE="JavaScript">

<!-- Script courtesy of http://www.web-source.net - Your Guide to Professional Web Site Design and Development

window.location="http://www.yourdomain.com/";

// -->

</script>

No comments: