Answers.Body: <p>When you create a category you will need to tell craft which template to load:</p>
  
  <p><img src="https://i.sstatic.net/BpLKS.jpg" alt="enter image description here"></p>
  
  <p>So for your example you would put <code>categories/index</code> in there and you should find the template gets loaded when you visit the category url.</p>
  
  <p><a href="http://buildwithcraft.com/docs/templating-overview" rel="noreferrer">See more about templating in the docs</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-27T12:24:48.133Z
Answers.LastActivityDate: 2015-06-27T12:24:48.133Z
Answers.UserDisplayName: Alec Ritson
Body: <p>below is my categories url.</p>
  
  <p><a href="http://example.com/index.php?p=categories/vaporizers" rel="nofollow">http://example.com/index.php?p=categories/vaporizers</a></p>
  
  <p>i create a template files for categories like</p>
  
  <pre><code>templates/categories/index.html
  templates/categories/_entry.html
  </code></pre>
  
  <p>my index.html is not called when categories view. please tell me where i create a mistake.</p>
  
  <p>Thanks</p>
  
Tags: <templating><categories>
Title: How to create a template file for Categories?
ThreadText: # How to create a template file for Categories?
  
  (Asked by: username_0 on 2015-06-27)
  
  below is my categories url.
  
  <http://example.com/index.php?p=categories/vaporizers>
  
  i create a template files for categories like
  
  ```
  templates/categories/index.html
  templates/categories/_entry.html
  
  ```
  
  my index.html is not called when categories view. please tell me where i create a mistake.
  
  Thanks
  
  **Tags:** templating, categories
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-06-27. Score: 6 | Accepted answer
  
  When you create a category you will need to tell craft which template to load:
  
  ![enter image description here](https://i.sstatic.net/BpLKS.jpg)
  
  So for your example you would put `categories/index` in there and you should find the template gets loaded when you visit the category url.
  
  [See more about templating in the docs](http://buildwithcraft.com/docs/templating-overview)
  
  
  ---
  
  