/page/2/ error – page not found
-
i’m getting a page not found error when i click on the next posts in the archive.php page. i’ve set the archive.php page up so that it shows only 3 posts of a certain category but when i click on next page/posts it gives a page not found error. if i take away %postname% from the permalinks it works but then my links to individual posts don’t work. i see there’s been previous entries about this but none with a solution.
in archives.php i’ve got the code:
<?php query_posts( array ( ‘category_name’ => ‘Public Buildings’, ‘posts_per_page’ => 3, ‘paged’ => get_query_var(‘paged’) ) );?>
i’ve also tried it with the paged be page but to no avail. also tried to change the code away from a query post as another poster once said.
what am i doing wrong?!?!
- The topic ‘/page/2/ error – page not found’ is closed to new replies.