WordPress.org

Forums

Pagination leading to http 404 [page not found] (3 posts)

  1. Praveen
    Member
    Posted 3 years ago #

    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

  2. Praveen
    Member
    Posted 3 years ago #

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

    thanks !!

  3. keesiemeijer
    moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic