WordPress.org

Ready to get started?Download WordPress

Forums

Pagination, posts nav link. Next page doesn't work 404 not found (1 post)

  1. jumust
    Member
    Posted 2 years ago #

    Hi,
    if I go to the next page in the category template I get.../mysite.com/category/page/2 but it shows a 404 Error page not found

    In the template I have this code. I tried also to use a plugin for Page Nav but the Second,Third,Fourth,...pages don't work.

    <?php query_posts( 'posts_per_page=5' ); ?>
    <?php
    if (have_posts()) : while (have_posts()) : the_post();
    ?>
    MY CODE
    <?php endwhile; endif; ?>
    <div class="pagination"><p><?php posts_nav_link(' '); ?></p></div>

    I'm working in Local with MAMP if it can help to figure it out.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic