Hot answers tagged 404-error
There is 404.php in the theme uploaded. But when there is search for non-existent page. The 404.php does not show up. When there is search for non-existent page doesn't produce the 404 page, but simply shows the search.php's else portion. A simple search.php is like: <?php if( have_posts() ) : ?> <?php while( have_posts() : the_post(); ...
Only top voted, non community-wiki answers of a minimum length are eligible