# Renaming Sites after Environment Update

**URL:** <https://community.localwp.com/t/renaming-sites-after-environment-update/8387>\
**Category:** Uncategorized\
**Created:** [September 26, 2018, 11:03am UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387 "2018-09-26T11:03:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwbuff](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@cwbuff](https://community.localwp.com/u/cwbuff)\
**Post date:** [September 26, 2018, 11:03am UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/1 "2018-09-26T11:03:56Z")

</div>

I have updated the environment in local 2 times in the last week as prompted by local updates. For a single site, I now have 3 versions named “site”, “site Clone” and now “site Clone Clone”. How do I rename “site Clone Clone” back to “site”? I see the “Rename” function in the menu, but really want to know if it is safe to just change the name back to “site” without losing my data.

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [September 26, 2018, 9:47pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/2 "2018-09-26T21:47:16Z")

</div>

@cwbuff,

Renaming the site in Local doesn’t change anything other than the name of the site in Local so it’s safe 🙂.

If you wish to change the site path, you can either:

1. Export and re-import the site to a different location
2. Use the [Volumes add-on](https://github.com/getflywheel/local-addon-volumes) to remap/relocate the site’s folders

---

<div class="post-metadata">

**Author:** ![cwbuff](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@cwbuff](https://community.localwp.com/u/cwbuff)\
**Post date:** [September 26, 2018, 9:58pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/3 "2018-09-26T21:58:32Z")

</div>

Which is the safest method?

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [September 26, 2018, 10:00pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/4 "2018-09-26T22:00:17Z")

</div>

> [@cwbuff](#):
>
> Which is the safest method?

Option #1 is a lot more simple so it’s less prone to user error. Option #2 requires that you remap multiple paths and if you map one incorrectly it can be difficult to track down.

---

<div class="post-metadata">

**Author:** ![cwbuff](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@cwbuff](https://community.localwp.com/u/cwbuff)\
**Post date:** [September 27, 2018, 1:01pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/5 "2018-09-27T13:01:59Z")

</div>

Thanks that worked. But the Site Domain is still “site-clone-clone.local”

Can I simply click the “Change” link and change it to “site.local” without any problems?

---

<div class="post-metadata">

**Author:** ![cwbuff](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@cwbuff](https://community.localwp.com/u/cwbuff)\
**Post date:** [September 27, 2018, 1:32pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/6 "2018-09-27T13:32:53Z")

</div>

I built a test site to experiment with. I got every thing to work fine on it and on my main site. Thanks for the help, I’m good to go.

---

<div class="post-metadata">

**Author:** ![lisawells999](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/lisawells999/32/5237_2.png) [@lisawells999](https://community.localwp.com/u/lisawells999)\
**Post date:** [October 30, 2018, 6:50pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/7 "2018-10-30T18:50:43Z")

</div>

Can you share your solution with the rest of us who are finding this thread with the same challenge? TIA.

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [October 30, 2018, 7:31pm UTC](https://community.localwp.com/t/renaming-sites-after-environment-update/8387/8 "2018-10-30T19:31:40Z")

</div>

You can change the site domain by clicking on the site in Local and then clicking on “Change” beside the site domain.

 ![02%20PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/d/de2c921c8e0159b67be191595a6cc16c16ecb425.jpeg)

This will update the Local site’s domain and run a find and replace on the site’s database. Just be sure you’re not changing it to a domain you already have locally. 🙂
