Answers.Body: <p>Your templates will be private if they are contained in a folder prefixed with a "_"... So just make a folder like that, and put everything else inside of it:</p>
  
  <pre><code>/craft/templates/_everything/myprivatefile.html
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-19T07:32:18.163Z
Answers.Text: Ahh nice, didn't know this also works for folders :) Thank you!
Answers.UserDisplayName: Sidney Widmer
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-18T19:03:46.750Z
Answers.LastActivityDate: 2015-01-18T19:03:46.750Z
Answers.UserDisplayName: Lindsey D
Body: <p>Is there a way to make all templates automatically private? Or do I really have to put an _ before every single one?</p>
  
Tags: <routing><templating>
Title: All templates automatically private
ThreadText: # All templates automatically private
  
  (Asked by: username_0 on 2015-01-18)
  
  Is there a way to make all templates automatically private? Or do I really have to put an \_ before every single one?
  
  **Tags:** routing, templating
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-01-18. Score: 5 | Accepted answer
  
  Your templates will be private if they are contained in a folder prefixed with a "\_"... So just make a folder like that, and put everything else inside of it:
  
  ```
  /craft/templates/_everything/myprivatefile.html
  
  ```
  
  > **Comments:**
  > **username_0**: Ahh nice, didn't know this also works for folders :) Thank you!  
  
  ---
  
  