Created
September 17, 2015 10:22
-
-
Save karrikas/235adaaf8e397e988f89 to your computer and use it in GitHub Desktop.
Wodpress force 404
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
header("HTTP/1.0 404 Not Found - Archive Empty"); | |
$wp_query->set_404(); | |
require TEMPLATEPATH.'/404.php'; | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment