WordPress.org

Ready to get started?Download WordPress

Forums

error in 404.php file (1 post)

  1. richards1052
    Member
    Posted 8 years ago #

    I tried rewriting my 404 'file not found' file & deleted some of the code accidentally. Could someone take a look at this & tell me what needs to be added back (just above the <h3> tag, I think):

    ~<?php get_header(); ?>

    <h2><?php _e('Not Found'); ?></h2>

    <?php _e('Sorry, but the page you requested cannot be found. If you came here using this link:

    'http://www.richardsilverstein.com/tikun_olam/2006/02/03/jyllen-postens-muhammed-cartoons/'

    try pasting this link into your browser's address field:

    'http://www.richardsilverstein.com/tikun_olam/2006/02/03/jyllands-postens-muhammed-cartoons/'); ?>

    <h3><?php _e('Search'); ?></h3>

    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>~

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags