markjaquith / WordPress-Skeleton

Basic layout of a WordPress Git repository. I use this as a base when creating a new repo.
1.85k stars 600 forks source link

Changing symlinks for media files stored in /shared/ #115

Closed MagentaShark closed 4 years ago

MagentaShark commented 5 years ago

Hi all

I am after some more information about how to change media symlinks from the /shared/ folder to another specified folder. I have read the readme file, which suggests using Capistrano to look for symlinks point to /shared/ and then repointing them. I am not familiar with Capistrano, and after some initial research, I'm not really sure where to start.

Any support would be much appreciated.

Daisuke-sama commented 5 years ago

hey @floatingtongs have you resolved your issue?

markjaquith commented 4 years ago

@MagentaShark The proper way to do this is to create a symlink from /shared/ to some other location. e.g. ln -s /some/other/location/outside/the/site/root/shared shared. Now it will look as if that directory exists as shared when actually it's somewhere else.