Last active
December 26, 2016 22:58
-
-
Save ofyalcin/3cc9ad7418c37e38e9a3dcef9465da2f to your computer and use it in GitHub Desktop.
Wordpress hata sayfalarını anasayfaya yönlendirme kodu. Daha fazla detay ve bilgi: https://blogkurdu.net/wordpess-404-hata-sayfalarini-anasayfaya-yonlendirme/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header("HTTP/1.1 301 Moved Permanently"); | |
header("Location: ".get_bloginfo('url')); | |
exit(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment