Tagged: pagination, permalink
-
AuthorPosts
-
January 31, 2018 at 10:04 pm #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?
February 1, 2018 at 3:38 am #905968Hey mmentuccia,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
NikkoFebruary 5, 2018 at 4:49 pm #908088Unfortunately 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.
February 5, 2018 at 9:24 pm #908208Hi,
We cant help any more if we do not have access so we can go through, we are sorry.
Best regards,
BasilisFebruary 12, 2018 at 9:56 pm #911392Not a problem, I was able to fix the issue.
February 13, 2018 at 4:05 am #911466Hi,
Glad that you were able to fix the issue, let us know if you need further assistance :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.