title: Display custom post type taxonomies as an archive page
body: <p>Hello I have a custom post type called <code>results</code>. I also created categories for that specific post type using a taxonomy. I'm not sure if I set it up correctly, but the code I have works so I'm sticking with it. If you see a better way or any errors please let me know. </p>
  
  <p>I am able to create a custom post and set a category to it. Next I would like to create a categories page that will act like the regular archive.php but just for the category of the custom post types. </p>
  
  <p>So say I have a custom post for <code>results</code> and I have its category set to <code>car accidents</code> I would like a way to display them all just like archive.php does for normal posts.</p>
  
  <p>I tried going to a url like this but I get sent to a 404 page, even though I have an archive-results.php</p>
  
  <p><code>www.myurl.com/results/categories/car-accidents</code></p>
  
  <p>Here is the code I used to set up the custom post type and the taxonomy. Sorry If its long but I feel like its necessary to include everything.</p>
  
  <pre><code>// Create custom post type
  function create_posttype() {
      register_post_type( 'Results',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __( 'Results' ),
                  'singular_name' =&gt; __( 'Results' )
              ),
              'public' =&gt; true,
              'has_archive' =&gt; true,
              'rewrite' =&gt; array('slug' =&gt; 'results'),
              'taxonomies'  =&gt; array( 'results', 'result-category' ),
          )
      );
  }
  add_action( 'init', 'create_posttype' );
  
  //Create category for specific post type
  function tr_create_my_taxonomy() {
      register_taxonomy(
          'results-categories',
          'results',
          array(
              'label' =&gt; __( 'Result Categories' ),
              'rewrite' =&gt; array( 'slug' =&gt; 'result-category' ),
              'hierarchical' =&gt; true,
              'has_archive' =&gt; true
          )
      );
  }
  add_action( 'init', 'tr_create_my_taxonomy' );
  </code></pre>
  
  <p>Am I missing something that is preventing this url from working?</p>
  
  <p><code>www.myurl.com/results/categories/car-accidents</code></p>
  
  <p>Thanks in advance</p>