

Bomboş Bir Siteye 404 Hata Sayfasını Nasıl Oluştururum?
-
Merhaba arkadaşlar
Bir site düşünün panel yok, içerik yok, hiçbir şey yok. Sadece index.htm sayfası var.
Bu siteye 404 hata sayfası oluşturmak istiyorum basit bir htm sayfası olarak.
Bunu nasıl oluşturabilirim?
-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title> 404 Not Found </title></head> <body><h1> 404 Not Found </h1> The resource requested could not be found on this server!<hr /> Powered By <a href='http://www.litespeedtech.com'>LiteSpeed Web Server</a><br /> <font face="Verdana, Arial, Helvetica" size=-1>LiteSpeed Technologies is not responsible for administration and contents of this web site!</font></body></html>
-
web dizininde .htaccess dosyası varsa ona
ErrorDocument 404 http://www.siteadi.com/404.htmlyazman gerekli. 404 hatası oluştuğunda 404.html ye yönlendirir. 404.html yi de ayrıca oluştur.
-
RockZs bunu yazdı
web dizininde .htaccess dosyası varsa ona
ErrorDocument 404 http://www.siteadi.com/404.htmlyazman gerekli. 404 hatası oluştuğunda 404.html ye yönlendirir. 404.html yi de ayrıca oluştur.
Hocam ne ana dizinde ne de public_html 'de .htaccess diye bir dosya yok?
Ne yapmam gerekiyor?
-
SoloTurk bunu yazdıRockZs bunu yazdı
web dizininde .htaccess dosyası varsa ona
ErrorDocument 404 http://www.siteadi.com/404.htmlyazman gerekli. 404 hatası oluştuğunda 404.html ye yönlendirir. 404.html yi de ayrıca oluştur.
Hocam ne ana dizinde ne de public_html 'de .htaccess diye bir dosya yok?
Ne yapmam gerekiyor?
hocam oluşturursan da olur. dosyanın uzantısı yok diye biliyorum, sadece .htaccess adında bir dosya oluşturman gerekiyor. public_html de oluştur.
ekleme: hocam gizli olabilirmiş. gizli dosyaları göster gibi bi seçenek varsa onunla bakmayı bi' dene..
RockZs tarafından 10/Şub/14 01:35 tarihinde düzenlenmiştir -
RockZs bunu yazdıSoloTurk bunu yazdıRockZs bunu yazdı
web dizininde .htaccess dosyası varsa ona
ErrorDocument 404 http://www.siteadi.com/404.htmlyazman gerekli. 404 hatası oluştuğunda 404.html ye yönlendirir. 404.html yi de ayrıca oluştur.
Hocam ne ana dizinde ne de public_html 'de .htaccess diye bir dosya yok?
Ne yapmam gerekiyor?
hocam oluşturursan da olur. dosyanın uzantısı yok diye biliyorum, sadece .htaccess adında bir dosya oluşturman gerekiyor. public_html de oluştur.
ekleme: hocam gizli olabilirmiş. gizli dosyaları göster gibi bi seçenek varsa onunla bakmayı bi' dene..
Buldum hocam.
Cpanelden HATA SAYFALARI diye bir menü var. Orada kodlarla güncelleyebiliyorum