<p>Not in the config file, but you can from index.php using the <a href="http://buildwithcraft.com/docs/php-constants#craft-templates-path" rel="nofollow"><code>CRAFT_TEMPLATES_PATH</code></a> constant:</p>

<pre class="lang-php prettyprint-override"><code>define('CRAFT_TEMPLATES_PATH', '../templates/');
</code></pre>

CC BY-SA 3.0
2014-08-07T18:38:43.117Z
2014-08-07T18:38:43.117Z
Brandon Kelly
<p>Is there a way to specify a different template directory from the general config?</p>

<templating><config>
Specify template directory in config
# Specify template directory in config

(Asked by: username_0 on 2014-08-07)

Is there a way to specify a different template directory from the general config?

**Tags:** templating, config

---

## 1 answers

### Answer by username_1 on 2014-08-07. Score: 3 | Accepted answer

Not in the config file, but you can from index.php using the CRAFT_TEMPLATES_PATH constant:
define('CRAFT_TEMPLATES_PATH', '../templates/');


---

