Gooruze

First VisitRegister with GooruzeLog in to Gooruze
 
   
 
This post is from from my other blog here

I've had a lot of trouble finding code to do a 301 redirect in .NET, but I finally found some that works, courtesy of Keyvan.

<script runat="server">Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadResponse.Status = "301 Moved Permanently"Response.AddHeader("Location", "http://www.mwi.com/")End Sub</script>

Group Blog Comment 0 comments   5 Visits     Report Report
 
 

Invite someone to Gooruze

Home | Read News | Post News | Read Articles | Write Articles | Q & A | Groups | Activity | Members | More

Privacy Policy | House Rules | About Us | Contact Us | House Blog | FAQ

© Copyright 2007 Gooruze ™ | Built by Market United