5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Local by Flywheel でサイトのディレクトリをまるっと変更する手順

Posted at

Local by Flywheel で一度構築したローカルサイトのディレクトリを変更する手順です。

1.新しいディレクトリに現在のサイトディレクトリをコピーする

https://github.com/getflywheel/local-addon-volumes
こちらからダウンロードして下記のディレクトリに配置
/Library/Application Support/Local by Flywheel/addons

3.Local by Flywheelを起動

4.左のメニューから「add-on」>「Volumes」をインストール、有効にしてLocal by Flywheelを再起動

5.移動させたいサイトを選択

6.「More」>「Volumes」に移動

7.「Host Source」の各項目を移動先のパスに変更

8.編集を終えたら「RemapVolumes」のボタンを押す

9./Users/username/Library/Application Support/Local by Flywheel/sites.json を開き、
移動前のパスを探して移動先のパスに変更

10.Local by Flywheelを再起動!

###参考
https://localwp.com/community/t/moving-a-local-site-to-a-different-path/1923

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?