WP-Paginate - 404 on blog page (4 posts)

  1. msmcmullen
    Posted 5 years ago #

    I'm getting a Not-Found result when trying to page through blog posts.

    Setup: WordPress 3.1.2; WP-Paginate 1.2.3
    Permalinks: Month and name
    WP Settings/Reading: Front Page displays a static page; Posts page: Blog

    /blog/ - displays all blog posts
    /blog/page/2/ - returns 404 not found

    /blog/news/ - a category page displays category posts
    /blog/news/page/2/ - displays page 2 of category posts

    Pagination is not working for the /blog/ page - someone suggested this is because I've designated it as a static page in WP settings.

    Is there a way to make this work? I'm using a static page for my site's home page and /blog/ for blog posts.

  2. poppunkbands2
    Posted 5 years ago #

    I have this exact same problem and I cannot find a solution anywhere!

  3. Eric Martin
    Posted 5 years ago #

    I'm using pages on my site and WP-Paginate works fine. Are you using a custom query?

  4. msmcmullen
    Posted 5 years ago #

    I discovered my problem was that the Permalink base was set to “blog” and the page that I was using for the blog's home page was also called "blog". This was causing the problem with 404 errors.

Topic Closed

This topic has been closed to new replies.

About this Topic