Title: Having problems modifying my 404.php (Error file)
Last modified: August 20, 2016

---

# Having problems modifying my 404.php (Error file)

 *  [benisjamin](https://wordpress.org/support/users/benisjamin/)
 * (@benisjamin)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/having-problems-modifying-my-404php-error-file/)
 * Hi all,
 * Im trying to make my 404.php look slightly prettier and also use a re-direct 
   back to my blog, only problem is I cannot get any new content Im putting into
   the 404.php file to show up on screen….?
 * The site/blog is not currently live as Im testing everything locally on my WAMP
   server Ive installed.I dont know if this is the cause, it shouldnt be… ?
 * PLEASE NOTE! I have placed a standard <p> tag in to test the 404 error page to
   see if the new content is shown but I just keep getting the default 404 message,
   its not even producing my header/sidebar/footer just literally a blank white 
   canvas with “Not Found” in bold lettering followed underneath by “The requested
   URL /wordpress/dgdghdgdg was not found on this server.”
 * The code for my 404.php file :
 *     ```
       <?php @header("HTTP/1.1 404 Not found", TRUE, 404); ?>
       <?php get_header() ?>
       	<div id="container">
   
       		<div id="content">
       	<p>This is some random text to test the page</p>
       			<div id="post-0" class="post error404">
   
       			<?php thematic_404() ?>
   
       			</div><!-- .post -->
   
       		</div><!-- #content -->
       	</div><!-- #container -->
   
       <?php thematic_sidebar() ?>
       <?php get_footer() ?>
       ```
   

The topic ‘Having problems modifying my 404.php (Error file)’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [benisjamin](https://wordpress.org/support/users/benisjamin/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/having-problems-modifying-my-404php-error-file/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
