404 Error when clicking Older Entries
-
I am using this code on the top of my index page in order to have it display only one post per page:
<?php get_header(); query_posts('posts_per_page=1'); ?>
My problem is that somehow when using that code, when I click on “Older Entries” I get a 404 Error. Well, first I get a page that looks just like the index but when I click it again, I get the 404. When I take that code out, I don’t get the 404 error but it lists the 10 most recent posts, which I don’t want. Here is the site I’m talking about: https://www.jqpentertainment.com/
I’d just tell it to list 1 post under the settings in wordpress but I have another page that’s I need to list multiple posts on so that won’t work.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘404 Error when clicking Older Entries’ is closed to new replies.