Pagination problems in archive.php
-
Hi there!
There’s something funny with the pagination in my archives.php… The pagination is displayed nicely at the bottom of my page. However, the get_pagenum_link() seems to return a pagination that looks like this:
url.com?cat=1&paged=2
but this gives me a “ERROR 404 – NOT FOUND“…
if on the other hand I strip the “d” and try the url:
url.com?cat=1&page=2
it paginates just fine…
My WP_Query looks like this:
$args = array('post_type' => array ('post', 'customposttype', 'tag', 'taxonomy','page'), 'posts_per_page' => 16, 'paged' => get_query_var( 'page' ), 'orderby' => 'date', 'order' => 'DESC'); WP_Query($args);
Any inputs on how I could fix this problem?
Regards,
Mike
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Pagination problems in archive.php’ is closed to new replies.