Title: CANNOT Find 404 error page
Last modified: August 19, 2016

---

# CANNOT Find 404 error page

 *  [spineless](https://wordpress.org/support/users/spineless/)
 * (@spineless)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-find-404-error-page/)
 * I am using a plugin the manage my 404 errors…. it really does not matter which
   one.
 * I am looking for my 404 error page. I do not know where it is. I looked in the
   wp-content/themes/mytheme to see if it is there. what I found was a file titled
   404.php
 * When I opened it I found the following code.
 * <div id =”content” class = “column”>
    <h2><?php _e(‘error ‘); ?> 404 &dash; <?
   php _e(`page not found`); ?><h2> <p> <?php _e(`Sorry, no posts matched your criteria.`);?
   ></p< </div>
 * This code clearly states `Sorry, no posts matched your criteria`
 * However when I create a 404 error and get a completely different message.
 * Error 404 – Page not found
    Sorry, no posts matched your criteria.
 * This looks like wordpress is using a different 404 error file then the one in
   the theme.
 * Any idea where the 404 error is being generated?
    Where is the 404 error .php
   file ?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [spineless](https://wordpress.org/support/users/spineless/)
 * (@spineless)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-find-404-error-page/#post-2008964)
 * When I edit the text it does not change.
 *  Thread Starter [spineless](https://wordpress.org/support/users/spineless/)
 * (@spineless)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-find-404-error-page/#post-2008967)
 * I found an unusual code in the theme. the code above is not located in just one
   file. Looks like really bad coding. 🙁
 * Each page has a if else statement on the home.php and other editable files.
 * I want to replace the code so it points to one file…. or one string. So I will
   remove the code in each file and point to the 404.php file.
 * How do i point to the 404.php file?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CANNOT Find 404 error page’ is closed to new replies.

## Tags

 * [404-error](https://wordpress.org/support/topic-tag/404-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [spineless](https://wordpress.org/support/users/spineless/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-find-404-error-page/#post-2008967)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
