I am attempting to control the amount of posts listed through the archive.php template while using following query_posts function prior to the loop:

<?php query_posts('posts_per_page=1'); ?>
<?php <?php  if (have_posts()) : while (have_posts()) : the_post(); ?>

This question_posts setup does not operate in archive.php exactly the same way it will for index.php: it'll actually display one publish, but hitting previous posts points me towards the 404 error template.

I have looked elsewhere web on StackOverflow for solutions, but haven't been capable of finding a something that works. I have also attempted the next with no success:

<?php global $query_string; query_posts($query_string . '&posts_per_page=1&paged=' . $paged); ?>


<?php global $query_string; query_posts($query_string . '&posts_per_page=1'); ?>

You will find some possible reasons during my situation it had been an issue with permalinks and .htacces rules

Look at this publish might help http://www.wordimpressed.com/wordpress/solve-wordpress-custom-post-type-404-error-issues/

I personally use this wordpress plugin for querystring correction http://wordpress.org/extend/plugins/category-pagination-fix/faq/