title: Pagination page/2 not found for a category but works for tags?
body: <p>This drives me nuts, i am trying to list post based on a category an on a tag. Now for tag i have got it working. Using archive.php but for the category, using categroy.php, it doesn't work for page/2???.</p>
  
  <p>I have already check the permalinks and indeed if i use the default settings both mydomain.com/blog/page/2 and mydomain.com/tag/green/page/2 work. But turning on /%category%/%postname%/ and the mydomain.com/blog/page/2 gives a page not found???</p>
  
  <p>Here's the main part of category.php (which is the same as archive.php)</p>
  
  <pre><code>     global $wp_query;
                 $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  
                  query_posts(array(
  
                      'posts_per_page' =&gt; 3,
                      'paged' =&gt; $paged
                  ));
  
                  while (have_posts()) : the_post();
  
                      // Include the page content template.
                      get_template_part('partials/content', 'loop');
  
                  // End the loop.
                  endwhile;
                  ?&gt;
                  &lt;!-- Pagination --&gt;
                  &lt;div class="navigation"&gt;
                  &lt;div class="alignleft"&gt;&lt;?php next_posts_link('&amp;laquo; Older Entries') ?&gt;&lt;/div&gt;
                  &lt;div class="alignright"&gt;&lt;?php previous_posts_link('Newer Entries &amp;raquo;') ?&gt;&lt;/div&gt;
              &lt;/div&gt;
  &lt;?php if ($wp_query-&gt;max_num_pages &gt; 1) : $paged = intval(get_query_var('paged')); ?&gt;
                  &lt;div class="older"&gt;&lt;?php next_posts_link(__('Older entries', 0)); ?&gt;&lt;/div&gt;
  &lt;!--test this one--&gt;
                  &lt;?php if ($paged &gt; 1) : ?&gt;
                      &lt;div class="newer"&gt;&lt;?php previous_posts_link(__('Newer entries', 0)); ?&gt;&lt;/div&gt;
                  &lt;?php endif;
              endif;
              ?&gt;
              &lt;!-- End Pagination --&gt;
  </code></pre>