Support » How-To and Troubleshooting » Pagination, posts nav link. Next page doesn't work 404 not found
4 years, 7 months ago
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' ); ?>
if (have_posts()) : while (have_posts()) : the_post();
<?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.