• Resolved hydo1

    (@hydo1)


    I am using a page other than the home page to display posts and the the previous and next posts links at the bottom of the page that lists all of the posts do not work they go to the 404 page.

    My custom posts page is at:
    http://techtips.org.uk/posts/

    If I click the previous posts link I am taken to
    http://techtips.org.uk/posts/page/2/ and this page does not exist.

    For the links I am using this code:

    <div class="navigation">
    <div id="previous-entries"><?php next_posts_link(''); ?></div>
    <div id="next-entries"><?php previous_posts_link(''); ?></div>
    </div>
Viewing 4 replies - 1 through 4 (of 4 total)
  • from here
    http://codex.wordpress.org/Creating_a_Static_Front_Page

    # If you will not be using WordPress' blogging functionality, you can skip the second page; otherwise, title it "Blog" (or you could call it "News", "Articles", etc.). This page will be a place-holder for showing the Posts on your site.
    
       1. <strong>Do not use a custom Page template for this page!</strong>
       2. DO NOT add content to the Blog Page. Leave it blank. Any content here will be ignored -- only the Title is used.
       3. Publish the Page.
    Thread Starter hydo1

    (@hydo1)

    Thanks, but that hasn’t helped as I had done these stages to set up the custom home page and posts page.

    Thread Starter hydo1

    (@hydo1)

    Thanks for moving this post to the correct forum, sorry about my n00by mistake.

    Thread Starter hydo1

    (@hydo1)

    I have found the solution to the problem, I had a custom permalink structure and it was messing things up for some unknown reason, set it back to a wordpress standard one and all worked fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Previous and Next links don't work’ is closed to new replies.