• Apologies if this is a REALLY DUMB question, or the answer is freely available elsewhere, but it’s driving me nuts.

    I run https://www.tvcream.co.uk, and for the past year I’ve been happily running the WP Page Numbers plug-in to provide pagination within categories with multiple posts. You can see an example here: https://www.tvcream.co.uk/?cat=3

    Since upgrading to WordPress 3.0, whenever I click on one of the page links (i.e. page 5, which takes me to https://www.tvcream.co.uk/?cat=3&paged=5) I get a “Page not found” error. Although, I should add, very occasionally, if I try page 2 or 3, the link works.

    I have rolled back to 2.9 and that fixed it. But I’d rather not have to do this, because plug-ins and the like start to fall out of date. And the problem persists with 3.01.

    So, any suggestions, please? The theme I’m using is Zinmag Remedy, if that helps!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Try updating the permalinks go to wp-admin>permalinks and click on save changes. If that fails check if there is a .htaccess file in the root WordPress folder and post the contents here.

    Thread Starter grahamkw

    (@grahamkw)

    Hello. Updating the permalinks hasn’t helped, alas.

    The contents of the .htaccess file are as follows:

    #set max upload file size
    php_value upload_max_filesize 15M

    #set max post size
    php_value post_max_size 20M

    php_value max_input_time 200
    php_value max_execution_time 200

    We are having the same problem. I will be interested in the answer also.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    Thread Starter grahamkw

    (@grahamkw)

    Hello Esmi

    Yes, I’ve tried both – with no joy. Is it worth trying to delete the .htaccess file?

    Thread Starter grahamkw

    (@grahamkw)

    Oh, and it’s probably worth reiterating, the pagination works fine under WordPress 2.9.

    Have you checked that the WP Page Numbers plug-in is compatible with WP 3.0.1?

    Thread Starter grahamkw

    (@grahamkw)

    It hasn’t been updated for a while – however, other paginating plug-ins which essentially do the same thing (and have been updated) aren’t working either.

    I don’t think your .htaccess file has anything to do with this. You’re not using a custom permalink structure , so no rewrites to get screwed up. If it’s not plugins, then the next most likely candidate is the theme itself.

    Thread Starter grahamkw

    (@grahamkw)

    So, something about the theme which doesn’t like WordPress 3.0+?

    I am having this problem as well.

    When in admin > media library, and I hover over the “page 2” link I see this “https://wp-admin/uploads.php…”

    For some reason my root directory isn’t being inserted.

    The siteurl and home url are fine in the database. Any ideas?

    I was having the same problem – it just showed page 2, when there were at least 5 pages.

    Found a solution from keesiemeijer on the following page:
    https://www.ads-software.com/support/topic/pagination-of-posts-in-page

    Here is a copy of his answer:

    This was my loop:

    $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query("paged=$page&cat=3");
    if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    while ($wp_query->have_posts()) : $wp_query->the_post();

    and ending of the loop with this

    <?php endwhile ?>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    <?php $wp_query = null; $wp_query = $temp; ?>

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Pagination broken since WordPress 3.0’ is closed to new replies.