• Im trying to get WordPress to upload files to a directory on that is located in a different root directory.

    WordPress tries to upload to /var/www/vhosts/domain.com/httpdocs/wp-content/uploads

    I want it to upload to /var/www/vhosts/domain.com/subdomains/img/httpdocs/uploads

    I created a symlink from /var/www/vhosts/domain.com/httpdocs/wp-content/uploads -> /var/www/vhosts/domain.com/subdomains/img/httpdocs/uploads

    i can view the correct files externally but when i go to upload it does not see any of the year or month folders where the files are located. I changed the ownership of the actual folder and the symlink to 777 and used recursive but nothing.

    Any ideas?? Im doing this because images are being pulled from a subdomain that is hosted on the same server img.domain.com.

    Thanks

Viewing 1 replies (of 1 total)
  • Narendra

    (@narendrakothule)

    Hi,

    I am also looking for same.
    want to upload files on another server in same network.

    Any idea?

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Uploading to symlink’ is closed to new replies.