• Hi,

    I really want my site to use its own 404 pages and I was expecting WordPress to manage this, but something seems to not be working right.

    My permalinks are in the default format, e.g.
    http://involver.org.uk/?p=110

    If I go to a page that doesn’t exist, e.g.
    http://involver.org.uk/?p=123456
    There is a message saying ‘sorry no posts matched your criteria’, but that’s it.

    If go to a page like this (i.e. one that doesn’t follow the permalink structure):
    http://involver.org.uk/nopage
    I get my ISP’s ugly 404.

    I tried pointing 404 errors to 404.php through .htaccess but that gave me an error message, saying that the page 404.php couldn’t get headers.

    I’ve reuploaded the file 404.php.

    Any suggestions?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a message saying ‘sorry no posts matched your criteria’

    Have you looked for that text in single.php or index.php? If the surrounding code looks something like:

    <?php endwhile; else: ?>
    <p>Sorry, no posts matched your criteria.</p>
    <?php endif; ?>

    try changing it it:

    <?php endwhile;?>
    <?php endif; ?>

    You’ll then need to ensure that you have a 404.php file in your current theme.

    http://codex.wordpress.org/Creating_an_Error_404_Page

    Thread Starter Brimfulof

    (@brimfulof)

    Thanks for the help Esmi.

    I tried changing the single.php file as you suggested. All that seems to do is remove the phrase from the page (i.e. it just shwos up as a blank page with sidebar, header, footer and background).

    There is a 404.php file on my system. It’s part of the arclite theme.

    Do you have any 404 redirects in your .htaccess files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Theme: Arclite] 404 pages not working correctly’ is closed to new replies.