404.php Issues

  • Author
    Posts
  • #28679
    JT

    Hello –

    I am having some trouble with my 404.php file. When I type in a random web-address to my site, such as http://www.thewealthsgt.com/randomaddress/ my 404 page does not display. Instead my Safari browser just shows up blank. When I moved from Safari to IE I had a similar issue, I get the standard IE 404 error instead of my unique site 404.

    I believe their may be an issue with my 404 code. The code is shown below, but if possible can someone post the standard 404.php file? I only edited the visible text in the code but the issue arose right after i made the custom message.

    Thanks in advance! It’s a great theme and I really love it.

    <?php
    /**
    * The template for displaying 404 pages (Not Found).
    *
    * @package Cryout Creations
    * @subpackage tempera
    * @since tempera 0.5
    */

    get_header(); ?>

    <div id=”container” class=”<?php echo tempera_get_layout_class(); ?>”>

    <div id=”content” role=”main”>

    <div id=”post-0″ class=”post error404 not-found”>
    <h1 class=”entry-title”><?php _e( ‘Not Found’, ‘tempera’ ); ?></h1>
    <div class=”entry-content”>
    <div class=”contentsearch”>
    <p><?php _e( ‘I’m sorry! The page you’re looking for is not here. Please use the search function below or the links to the right to help you find what you were looking for.’, ‘tempera’ ); ?></p>
    <?php get_search_form(); ?>
    </div>
    </div><!– .entry-content –>
    </div><!– #post-0 –>

    </div><!– #content –>
    <?php tempera_get_sidebar(); ?>
    </div><!– #container –>
    <?php get_footer(); ?>

    #28817
    Zed
    Cryout Creations mastermind

    Did you fix this?
    I see WordPress handles 404 pages now.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘404.php Issues’ is closed to new replies.