bookmark at folkd

Thursday, January 1, 2009

301 redirect for windows hostings websites

today , 1st january 2009, I want to say Happy New Year to everyone.
for 301 redirection on windows hosting you can add the following script into your web page(.aspx) bfore html tag.

<script runat="server">
Sub Page_Load
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location","http://sitestores.blogspot.com")
end sub
</script>

Hope it will do much better
cheers.....

Thanks
Susheel Singh

 
Technorati Profile