Merhaba Yanıt 404 ise bir yönlendirme yapmaya çalışıyorum ama beklendiği gibi çalışmıyor, uzmanlar sorunu görebiliyor musunuz ?. Hala GÜNCELLEME404 Özel Yönlendirme
protected void Application_BeginRequest(Object sender, EventArgs e)
{
if (Response.Status == "404 Not Found")
{
string notFound = "~/custom_notfound.aspx";
Response.Redirect(notFound);
}
}
benim Global.asax jenerik 404
gider
şimdiye kadar çalıştı
(Response.Status == "404 Not Found")
(Response.Status == "404")
(Response.StatusCode == 404)
Eğer 'Response.Redirect (NOTFOUND) koymak kastettiniz web.config kullanabilirsiniz;'? – Icarus
PageNotFound nedir? –
ahh üzgün yazım hatası gönderirken yine de sorun var. – user710502