Pagination Function on Frontpage
-
Hi,
I am using this query, to get a pagination function:
<?php wp_reset_query(); $ppp = get_post_meta($post->ID, 'Anzahl Posts', true);; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('posts_per_page='.$ppp .'&paged='.$paged.''); ?>
The page numbers show up, but if I try to click it, the link points to /2 instead of /page/2.
If I try to enter the rul manually like: /page/2 I am getting a 404.
What could be the reason for that?
- The topic ‘Pagination Function on Frontpage’ is closed to new replies.