<p>No need to go through the installation process again.</p>

<p>I assume that <code>/dev</code> is a folder under your public html folder that Craft's public index.php file lives in.</p>

<p>So Craft's index.php lives in something like:</p>

<pre><code>/path/to/public_html/dev/index.php
</code></pre>

<p>And what you want to do is change the site to live in:</p>

<pre><code>/path/to/public_html/draft1/index.php
</code></pre>

<p>If that's the case, you'd just need to move anything in the <code>public_html/dev</code> folder over to <code>public_html/draft1</code> and update your <code>siteUrl</code>.  That's either been defined in your <code>craft/config/general.php</code> file or under Settings->General in the control panel, depending on how your site is setup.</p>

<p>If you've defined any custom environment paths in <code>craft/config/general.php</code>, they might need to be updated as well.</p>

CC BY-SA 3.0
2015-07-12T05:10:20.023Z
2015-07-12T05:10:20.023Z
Brad Bell
<p>I would like to change the root folder name where my Craft install is currently at.  for example: website.com/dev to website.com/draft1.  When changing the folder name on my server and the site URL in the Craft admin settings to match, I get an error.  What am I missing?  Will I need to reinstall Craft from scratch under the new URL?</p>

CC BY-SA 3.0
2015-07-09T03:57:32.477Z
What is the error that you are getting?
Lindsey D
<url>
Changing root folder name
# Changing root folder name

(Asked by: username_0 on 2015-07-09)

I would like to change the root folder name where my Craft install is currently at. for example: website.com/dev to website.com/draft1. When changing the folder name on my server and the site URL in the Craft admin settings to match, I get an error. What am I missing? Will I need to reinstall Craft from scratch under the new URL?

**Tags:** url

> **Comments:**
> **username_1**: What is the error that you are getting?  

---

## 1 answers

### Answer by username_2 on 2015-07-12. Score: 4

No need to go through the installation process again.
I assume that /dev is a folder under your public html folder that Craft's public index.php file lives in.
So Craft's index.php lives in something like:
/path/to/public_html/dev/index.php

And what you want to do is change the site to live in:
/path/to/public_html/draft1/index.php

If that's the case, you'd just need to move anything in the public_html/dev folder over to public_html/draft1 and update your siteUrl.  That's either been defined in your craft/config/general.php file or under Settings->General in the control panel, depending on how your site is setup.
If you've defined any custom environment paths in craft/config/general.php, they might need to be updated as well.


---

