Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #905841

    Hello,
    If I change my permalinks (WP Admin -> Settings -> Permalinks) to default (i.e. site.com/?p=123) my pagination works fine. But if I change the permalink to something else (e.g., site.com//%year%/%monthnum%/%day%/%postname%/) then pages 2, 3, etc. give a 404 error. I already tried disabling canonical redirect by putting this in functions.php:

    add_filter( ‘redirect_canonical’,’custom_disable_redirect_canonical’ );
    function custom_disable_redirect_canonical( $redirect_url ){
    if ( is_singular(‘your_custom_post_type’) ) $redirect_url = false;
    return $redirect_url;
    }

    But the issue still persists. Any recommendations for keeping the custom permalink settings and fixing pagination?

    #905968

    Hey mmentuccia,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #908088

    Unfortunately I can’t give admin access. But I can post any code that might be helpful. Additionally, we’ve already gone through and disabled all plugins and the problem still persists so it doesn’t seem to be plugin related.

    #908208

    Hi,

    We cant help any more if we do not have access so we can go through, we are sorry.

    Best regards,
    Basilis

    #911392

    Not a problem, I was able to fix the issue.

    #911466

    Hi,

    Glad that you were able to fix the issue, let us know if you need further assistance :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.