Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Wordpress 404 Error Template

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 340
    Comment on it

    Wordpress 404 Error Template :- Every wordpress theme has a 404.php file. This error occur when a user click on link to a missing web page, the web server will send the user an error message template such as 404 Not Found !!!.

    Admin can customize this error page. Means if you are the admin or having the credentials you can edit the message cumming on the template according to your will.
    to do this, first open error template in your editor and edit the message text to say what your wishes it to say. Then save your changes and upload it to the theme directory of your WordPress install. It also include header and footer.

    Example:-

    <div id="container">
    <div id="post-0" class="post error404 not-found">
    <h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isnt it?', 'twentyten' ); ?></h1>
    <div class="entry-content">
    <?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyten' ); // you can customize this error message. ?>
    <?php get_search_form(); ?>
    </div><!-- .entry-content -->
    </div><!-- #post-0 -->
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: