Wordpress: 404 Sayfasını Düzenle - Nasıl Çalışır
Sayfa 404'ü WordPress'te düzenlerseniz, bir sayfa bulunamazsa ziyaretçiler en azından hoş bir mesajla telafi edilir. Burada sayfayı tam olarak nerede düzenleyebileceğinizi gösteriyoruz.
Wordpress: 404 sayfası nasıl düzenlenir
En iyi çözüm elbette "404 - Sayfa bulunamadı" sayfasının hiç görünmemesi, yani sayfanızdaki tüm referansların doğru olmasıdır. Bununla birlikte, bir hata akabilir ve daha sonra en az bir çekici sayfa buna işaret etmelidir.
- Yönetici alanınızda sol taraftaki menüde "Tasarım" öğesini bulacaksınız. Noktayı tıklayın, "Editör" alt noktası görünmelidir.
- "Editör" e tıklarsanız, "404.php" dosyası ve ortada bir kod penceresi de dahil olmak üzere bir dosya listesi görünür. Burada 404 dosyasını düzenleyebilirsiniz.
- Dosya listede görünmüyorsa, sunucuya bir FTP programıyla erişin. Burada 404.php dosyasını "wp-content / themes / default" altında bulabilirsiniz.
- PHP dosyasında, h2 etiketleri arasında "" araması yapın. PHP'yi bildiğiniz sürece bu bölümü kendi kodunuzla değiştirebilirsiniz.
Alternatif: 404 eklentisi
PHP hakkında hiçbir fikriniz yoksa, dosyayı düzenlemekten uzak durmalısınız. Bunun yerine, bir eklenti kullanın.
- 404 hata sayfası, "Kırk Dört - WordPress için 404 Eklentisi" gibi özel eklentilerle kolayca görüntülenebilir.
İpucu: 404 sayfasına arka plan resmi nasıl eklenir
Bir sonraki pratik ipucunda, Wordpress'te kendi iletişim formunuzu nasıl oluşturacağınızı anlatacağız.