Page 1 of 1

If you are making symlink of some web folder

Posted: Tue Nov 08, 2022 1:36 pm
by myVesta
Let's say you want to symlink "uploads" folder to some subdomain:

Code: Select all

ln -s /home/SOMEUSER/web/media.somedomain.com/public_html /home/SOMEUSER/web/somedomain.com/public_html/wp-content/uploads
Very important thing is to chown symlink:

Code: Select all

chown -h SOMEUSER:SOMEUSER /home/SOMEUSER/web/somedomain.com/public_html/wp-content/uploads