Skip to content

Instantly share code, notes, and snippets.

@ofyalcin
Last active December 26, 2016 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ofyalcin/3cc9ad7418c37e38e9a3dcef9465da2f to your computer and use it in GitHub Desktop.
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/
<?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