WordPress.org

Support

Support » How-To and Troubleshooting » Pagination leading to http 404 [page not found]

Pagination leading to http 404 [page not found]

  • Praveen

    @spraveenitpro

    Hi

    I have configured to display 2 post per page and pagination henceforth with the below code :

    <div id="older-posts"><?php next_posts_link('Older Posts'); ?></div>
    <div id="newer-posts"><?php previous_posts_link('Newer Posts'); ?></div>

    But when I click on the “Older posts” that appears , I get a “Not Found – The requested URL /wordpress/page/2/ was not found on this server” error

    Please let me know what can be done.

    Praveen

Viewing 2 replies - 1 through 2 (of 2 total)
  • Praveen

    @spraveenitpro

    ok , I changed the permalink settings to “Default” and it now works.

    thanks !!

    Moderator keesiemeijer

    @keesiemeijer

    Hi spraveenitpro

    I have configured to display 2 post per page and pagination henceforth with the below

    How did you do this?
    Can you paste and submit the full code with the pagination code into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.

    Maybe we will get it to work with pretty permalinks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination leading to http 404 [page not found]’ is closed to new replies.