//..................... GLOBAL ASPX
protected void Application_EndRequest()
{
if (Context.Response.StatusCode == 404)
{
if ((!Request.RawUrl.Contains("style"))
&& (!Request.RawUrl.Contains("images")))
{
Response.Clear();
if (Response.StatusCode == 404)
{
Response.Redirect("/Shippers/Bulunamadi");
}
}
}
}
Yorumlar
Yorum Gönder