• 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

  • The topic ‘Pagination, posts nav link. Next page doesn't work 404 not found’ is closed to new replies.