301 редирект asp.net как сделать 301 редирект на сайте asp.net? Читайте также:Обновление для уязвимости ASP.NETASP.NET уязвимость безопасностиASP.NET MVC FrameworkОсновы ASP.NETкак установить IIS и ASP.NET
anonim May 11, 2014 at 7:58 am protected void Page_Load(object sender, EventArgs e) { Response.StatusCode = 301; Response.StatusDescription = “Moved Permanently”; Response.AddHeader(“Location”, “http://newsite.com/”); return; } Reply ↓
protected void Page_Load(object sender, EventArgs e)
{
Response.StatusCode = 301;
Response.StatusDescription = “Moved Permanently”;
Response.AddHeader(“Location”, “http://newsite.com/”);
return;
}