Forums

Comment pagination not working on 2.9.1 (7 posts)

  1. childheart82
    Member
    Posted 2 years ago #

    Hi, I'm working on a wordpress 2.9.1 with the default kubrik theme included in it, and comments pagination is not working even if I activated it in the discussion settings... how can this be possible?
    Thanks in advance for your help

  2. childheart82
    Member
    Posted 2 years ago #

    Could it be that there is a dirty value in the wp_options table inherited by previous wordpress versions that prevents this from working?

  3. childheart82
    Member
    Posted 2 years ago #

    With same installation file but brand new db, it works as it passes the following parameters in the request
    http://localhost/blog.default.it/?p=1&cpage=1#comments
    If a set a custom permalink structure (the same I have on the live blog) it works as well
    /%year%/%monthnum%/%postname%-%post_id%.php and it outputs this url
    http://localhost/blog.default.it/2010/01/ciao-mondo-1.php/comment-page-1#comments
    This url and the one of the live blog, have the exact same syntax.

  4. childheart82
    Member
    Posted 2 years ago #

    I thinks it's the rewrite_rules wp_option value...

  5. childheart82
    Member
    Posted 2 years ago #

    Bingo!
    If you're running this plugin "Permalink Redirect" (that is my case!)
    http://scott.yang.id.au/code/permalink-redirect/ it will redirect the single post on itself ignoring the comment pagination parameters.
    To make it work, add "/comment-page" to the list of paths to be skipped in the plugin settings.
    Hope this helps!

  6. PandeBCN
    Member
    Posted 1 year ago #

    Great solution.
    Thanks.
    I've made a permalink migration but I can't redirect comment-pages?
    Any Idea?
    Thanks

  7. PandeBCN
    Member
    Posted 1 year ago #

    Fixed with your solution childhearth82.
    Thanx

Topic Closed

This topic has been closed to new replies.

About this Topic