# Move Local Sites directory to external drive

**URL:** <https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430>\
**Category:** Support\
**Tags:** site-export, site-import, general-use\
**Created:** [April 30, 2021, 2:36pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430 "2021-04-30T14:36:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![djmtype](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@djmtype](https://community.localwp.com/u/djmtype)\
**Post date:** [April 30, 2021, 2:36pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/1 "2021-04-30T14:36:00Z")

</div>

When I initially set up local on my Mac (running Big Sur), I set up the Local Sites directory to on my Mac’s internal drive. But I see now my projects have grown and rather relocate the Local Sites directory to an external SSD.

Setting up new sites on the external SSD seems easy enough.  
However, pre-existing sites already set up in Local – is this possible? How?

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [April 30, 2021, 4:49pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/2 "2021-04-30T16:49:05Z")

</div>

There isn’t an automated way of moving existing sites to a different location.

The best way to go about doing this is to export each site as a zip by right clicking on the site and selecting export. From there you can remove the sites in Local and import them again, being sure to select the correct location.

In case you didn’t see, there is an option to update the default location for new site under “Preferences \> New Site Defaults” which should help when importing those sites to the new location.

---

<div class="post-metadata">

**Author:** ![NdnaJnz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ndnajnz/32/4435_2.png) [@NdnaJnz](https://community.localwp.com/u/NdnaJnz)\
**Post date:** [April 30, 2021, 5:42pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/3 "2021-04-30T17:42:53Z")

</div>

Can’t you use an alias/link for this?  
Create an alias on internal drive that points to the external.  
Move all local sites to that external folder.  
This does work for a _true_ local setup.

Just a thought.  
Jeff  
–––––––

---

<div class="post-metadata">

**Author:** ![djmtype](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@djmtype](https://community.localwp.com/u/djmtype)\
**Post date:** [April 30, 2021, 9:02pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/4 "2021-04-30T21:02:09Z")

</div>

Thanks @NdnaJnz However, typical Mac aliases won’t work. They need to be symbolic links added as a service or created by a terminal command. 👍

I just installed this service first: [https://github.com/nickzman/symboliclinker/releases](https://github.com/nickzman/symboliclinker/releases)

@ben.turner I’ll keep that in mind. Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![NdnaJnz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ndnajnz/32/4435_2.png) [@NdnaJnz](https://community.localwp.com/u/NdnaJnz)\
**Post date:** [April 30, 2021, 9:15pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/5 "2021-04-30T21:15:36Z")

</div>

Oops! I meant symbolic links. Easily created from CL. Thanks for the correction!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 2, 2021, 9:15am UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430/6 "2021-05-02T09:15:42Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
