Using $paged redirects /page/2 to page 1
I’ve setup a custom query for my posts (single.php) with pagination, which by the way is working great with the default permalink structure. domain.com/p=ID&paged=2 if I switch the permalinks to /%postname%/ the page/2/ redirects to the first page. <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; $args=array( ‘connected_type’=> ‘posts_to_posts’, ‘posts_per_page’ => 3, ‘paged’ => $paged, … Read more