title: Category pagination not working in custom post type
body: <p>I have a problem showing my category page in pagination results</p>
  
  <p>I have a custom post type named 'videos'</p>
  
  <p>I put all the posts of this type in a one category names 'cars video'</p>
  
  <p>I use a template page category-9.php' as the id of this category 'cars video' is '9'</p>
  
  <p>I place this code in category-9.php</p>
  
  <pre><code>&lt;?php
  $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  ?&gt;
      &lt;?php query_posts( $query_string . '&amp;post_type=videos&amp;posts_per_page=10&amp;paged=' . $paged ); ?&gt;
      &lt;?php if ( have_posts() ) : ?&gt;
          &lt;?php
          /* Start the Loop */
          while ( have_posts() ) : the_post();
              /* Include the post format-specific template for the content. If you want to
               * this in a child theme then include a file called called content-___.php
               * (where ___ is the post format) and that will be used instead.
               */
              get_template_part( 'content', 'videos' );
  
          endwhile;
  
          // twentytwelve_content_nav( 'nav-below' );
          ?&gt;
      &lt;?php paging(); ?&gt;
      &lt;?php else : ?&gt;
          &lt;?php get_template_part( 'content', 'none' ); ?&gt;
      &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>I got the first page 'sitename.com/blog/category/cat-videos/' working fine but I have this pages not working</p>
  
  <p>'sitename.com/blog/category/cat-videos/page/1'</p>
  
  <p>'sitename.com/blog/category/cat-videos/page/2'</p>
  
  <p>etc..</p>
  
  <p>it gave me 404.php page</p>
  
  <p>This is the custom post registration </p>
  
  <pre><code>$post_type_args = array(
  'label' =&gt; 'Videos',
  'labels' =&gt; array(
      'name' =&gt; 'Videos',
      'singular_name' =&gt; 'Video',
      'menu_name' =&gt; 'Videos'
  ),
  'public' =&gt; true,
  'has_archive' =&gt; true,
  'hierarchical' =&gt; true,
  'supports' =&gt; array('title','author','thumbnail','comments'),
  'rewrite' =&gt; array('slug' =&gt; 'videos'),
  'taxonomies' =&gt; array('category','post_tag')
  
  );
  
  
  register_post_type('videos',$post_type_args);
  </code></pre>
  
  <p>Any advices?</p>