• Before i see this message when i type a URL that i can’t find in the DB, but now i see only the index, but not the error message….why ?

    The code is the usual:

    ….
    <?php endwhile; else: ?>
    <h2>Not Found</h2>
    <?php _e(“Sorry, but you are looking for something that isn’t here.”); ?>
    <?php endif; ?>

Viewing 1 replies (of 1 total)
  • Thread Starter Marcomail

    (@marcomail)

    I have find the problem….i have modified the index.php to show only post of one category :

    <?php query_posts(‘cat=14’); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    If i delete <?php query_posts(‘cat=14’); ?> i can show the error message.

    Do you have any idea to solve the problem ?

Viewing 1 replies (of 1 total)
  • The topic ‘Sorry, but you are looking for something that isn’t here.’ is closed to new replies.