Title: 404 not working
Last modified: August 19, 2016

---

# 404 not working

 *  [Christopher Roberts](https://wordpress.org/support/users/christopherrobertswordpress/)
 * (@christopherrobertswordpress)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/404-not-working/)
 * Can anyone help me get my 404 working, as currently I just get a blank page, 
   if the wrong URL is typed.
 * Blog: [Philosophy Blog](http://www.philosophy.christopher-roberts.co.uk/)

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/404-not-working/#post-1628863)
 * does your theme have a 404.php?
 * if not, make one and drop in this code or similar
 *     ```
       <?php get_header(); ?>
   
       	<div id="content">
   
       	<div class="post">
   
       	<span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> &raquo; 404 Not Found</span>
   
       	<h2 class="title">Error 404 - Not Found</h2>
   
       		<div class="entry clearfloat">
       		<p>Ooops, I cannot find you the page you are looking for. You may try to search my site another keyword or use the navigation on your right to browse my site.</p>
   
       		</div>
   
       	</div>
   
       	</div>
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 *  Thread Starter [Christopher Roberts](https://wordpress.org/support/users/christopherrobertswordpress/)
 * (@christopherrobertswordpress)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/404-not-working/#post-1629093)
 * It doesn’t but I used another one, where should it be positioned?
 *  Thread Starter [Christopher Roberts](https://wordpress.org/support/users/christopherrobertswordpress/)
 * (@christopherrobertswordpress)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/404-not-working/#post-1629094)
 * I have tried that, but if I go to an invalid page, it brings up loads of code…
 * any thoughts?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/404-not-working/#post-1629098)
 * Save the code that Samuel B gave in a file called 404.php in your theme.
 *  Thread Starter [Christopher Roberts](https://wordpress.org/support/users/christopherrobertswordpress/)
 * (@christopherrobertswordpress)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/404-not-working/#post-1629114)
 * I have done. Still doesn’t work. Also tried other themes, and reinstalling WordPress.

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

The topic ‘404 not working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Christopher Roberts](https://wordpress.org/support/users/christopherrobertswordpress/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/404-not-working/#post-1629114)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
