Forums

"Next Page" link doesn't work (9 posts)

  1. lis_web
    Member
    Posted 1 year ago #

    Hi,

    I was wondering if anyone could give me advice on how to fix the "Next Page" link on our blog. The link unnecessarily repeats the parent directory within itself... it would probably be more helpful if I post the link to our site so you can see for yourself, scroll to the very bottom and click on "Next Page":


    http://www.hawaii.edu/lis/lisnews/

    I'm new to WP and could really appreciate the help.

    Thank you!

  2. andysapp
    Member
    Posted 1 year ago #

    This is happening to me as well with a site I am working on.

    http://driftparty.com/

    You can see that the content stays the same as the index for the second page:
    http://driftparty.com/page/2/

  3. andysapp
    Member
    Posted 1 year ago #

    When I switch to the unmolested TwentyTen theme that comes with WP, the next/previous buttons work okay.

    I tried installing WP-PageNavi and yield the same results as my original post - just reloaded content on page 2.

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    check if your front page template (index.php?) contains a custom query.

    if so, this might be missing the 'paged' parameter:
    http://codex.wordpress.org/Function_Reference/query_posts#Pagination_Parameters

    example solution:

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // for pagination
    
    $args = array(
    'posts_per_page' => 9,
    'paged' => $paged, // for pagination
    'cat' => 0
    );
    query_posts($args);
  5. andysapp
    Member
    Posted 1 year ago #

    It doesn't that I can see... it only has this:
    <?php if ( $paged < 1 ) { ?>

    I tried adding your code, but still no luck. I even deleted the bit of code I posted above and left your code.

    Also tried adding it to the header, just for kicks - still no go.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    might I suggest dropping your index.php code into the pastebin and reporting a link back for investigation

    http://wordpress.pastebin.com

  7. andysapp
    Member
    Posted 1 year ago #

    http://wordpress.pastebin.com/89h9BcDz

    This particular theme (Modularity) has a ton of includes... so I'm not sure if that will help or not.

  8. alchymyth
    The Sweeper
    Posted 1 year ago #

    i actually get a 'not found' if i click on the 'next page' link

    the link is:
    http://www.hawaii.edu/lis/lisnews/www.hawaii.edu/lis/lisnews/index.php?paged=2

    which contains your site url twice.

    check your settings in 'settings' 'general' wordpress url, site url; and your permalink settings 'settings' 'permalinks'

    http://codex.wordpress.org/Using_Permalinks

    it is always a bit more complicated to troubleshoot a commercial theme; check if you can also get support from the seller.

  9. andysapp
    Member
    Posted 1 year ago #

    I have month and name set up for the permalinks.

    I don't understand... when I click next page, it just reloads the main page.

    Graph Paper Press does offer support, but you have to pay for it with your subscription to their site. I don't have a current subscription, and am not interested in spending the money for a membership to try and solve this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags