blog.pagesd.info // Archives // Traductions

HTTP 301 - Moved Permanently

2006-01-24 #.net,#code-snippets,#referencement

<script runat="server">
private void Page_Load(object sender, System.EventArgs e) {
  Response.Status = "301 Moved Permanently";
  Response.AddHeader("Location", "http://www.new-url.com");
}
</script>