Set permalinks to defult then try if it works then Set again as per your requirment
Go to Settings->Permalinks
or may be .htaccess issues
I’ve reset my permalinks and .htaccess file, but nothing changed 🙁
Paste your Website link here So we can check
Hello Where need to click ? in which page you find error(404) ?
its defult Pagination or custom ?
have you setup >Setting->Reading ->Blog pages show at most 5 or more ?
if you are using Custom post type then use
for example
$type = ‘portfolio’;
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; ->Must used in custom post type
$args=array(
‘post_type’ => $type,
‘post_status’ => ‘publish’,
‘paged’ => $paged, <— add this
‘posts_per_page’ => 1,
‘caller_get_posts’=> 1
);
Use this may be help this: https://codex.wordpress.org/Function_Reference/the_posts_pagination
function custom_pagination()
{ the_posts_pagination( array(
‘prev_text’=> __( ‘Previous’, ‘txtdomain’ ),
‘next_text’ => __( ‘Next’, ‘txtdomain’ ),
‘before_page_number’ =>'<span class=”meta-nav screen-reader-text”></span>’,
) );
}
[Please do not provide RDP, FTP, TV credentials to anyone in the forums ]
Please do not share any credentials here on the forums.
I’m using wp-pagenavi plugin
You may have better luck posting on the plugin support forum. That way you can get the plugin author involved.
https://wordpress.org/support/plugin/wp-pagenavi
Log in to wp-admin and go to permalinks, click save (this should refresh your permalinks).
Check to see if this fixes your permalinks. If not, set to default.
Disable your plugins to remove them out of the equation.
Log into your server via sFTP/SSH/FTP and find your .htaccess file. It should be located in the root of your WordPress install.
Pull the htaccess file down so that you have a local back up. Once you’ve pulled it down, go ahead and delete it from your server.
Go back to wp-admin and visit your permalinks page. try enabling custom permalinks. This should remedy the issue and you can go ahead and reenable your plugins.