Support » Fixing WordPress » help, 404 error

  • hello all,

    i need help,

    i need to change page name “Page not Found – Blog Name”
    into someting else, like “error url – Blog Name”

    the screenshot: 404 page title

    i understand that every themes, have their own error page title, but i don’t know which file to edit, and the location of the default name for 404 error.
    plase help



Viewing 8 replies - 1 through 8 (of 8 total)
  • and sorry for my english,
    i’m not so fluent.




    Forum Moderator

    Thank you esmi, i already read it, but i cannot find where the word ‘Page not found’ to edit in my 404.php in themes folder. the code of my 404.php is < ? p h p g e t _ h e a d e r
    ( ) ; ? >
    < d i v
    i d = ” c o n t e n t “
    c l a s s = ” n a r r o wc o l umn ” >
    < h 2
    c l a s s = ” c e n t e r ” > E r r o r
    4 0 4 – N o t F o u n d < / h 2 >
    < / d i v >
    < ? p h p g e t _ s i d e b a r
    ( ) ; ? >
    < ? p h p g e t _ f o o t e r
    ( ) ; ? >

    esmi, please help….
    please give me example of the code to put to my theme 404.php so i can get result like this:

    Search Word – Blog Title

    i am really not very good with the code

    i’m using arjuna x themes
    and the 404.php content is:

    <?php get_header(); ?>
    <div class="contentArea">
    	<h3 class="contentHeader"><?php _e('Error 404 - Not Found', 'Arjuna'); ?></h3>
      <p><?php _e('Sorry, but you are looking for something that isn\'t here. ', 'Eos'); ?></p>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    and the result is :
    Page not found – Blog Title


    wow, i just realize that you’re the one write eshop plugin and zenlite theme.

    nice to meet you..

    i try using zenlite
    and 404.php code is:

    <?php ob_start(); ?>
    <?php header("HTTP/1.1 404 Not Found"); ?>
    <?php header("Status: 404 Not Found"); ?>
    <?php get_header(); ?>
    <div id="content">
    <div <?php post_class('page'); ?>>
    <h2 class="post-title">Page Not Found</h2>
    <p>Uh oh! I can't seem to find the file you asked for.</p>
    <p>Perhaps you:</p>
    <li>tried to access a post or archive which has been removed</li>
    <li>followed a bad link</li>
    <li>mis-typed something</li>
    <p>Try using the main navigation menu to find what you're looking for.</p>
    <p>Or you may just wish to return to the <a href="<?php bloginfo('url'); ?>/">Home page</a>.</p>
    <?php get_footer(); ?>

    and the title show: Blog Title – Page not found!
    i still don’t get it….

    i tried dozens of theme..
    and still can’t find the solution.

    i try to copy the zenlite 404.php code to other theme (arjunax) but it only show diffrent content of 404 page, but not the page title.

    the page title is still the same.

    any one?



    Forum Moderator

    Back again!

    You can’t drop a template file from one theme into another theme. As you’ve seen it simply won’t work 99% of the time. What’s the problem with the 404 in the arjunax theme? Is it that you want a search term to show up in the page’s title (ie in the top left of the browser bar)? If so, there are 2 problems with that…

    1. You’re editing the wrong template file. You need to look in header.php.

    2. The visitors who see your 404 page won’t have typed in a search term. They will probably have followed a bad/broken link or made a mistake when typing the url into the address bar of their browser.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘help, 404 error’ is closed to new replies.