both main and second domain (addon domain ) are in same host i want to find a way to change upload directory to another directory that located in another domain root.
default location (first location) : My main domain upload directory is : /domains/domain1.com/public_html/wp-content/uploads
destination location (second location) : the destination directory. is : /domains/domain2.com/public_html/wp-content/uploads
I want to define second domain upload directory as main domain upload dir
I mean I want domain1.com upload directory uses from the second domain upload directory.
for example can i use another wordpress root location address from same host in this code in wp-config.php ?
wp config function: define('UPLOADS', 'destination directory');
if its matter i use shared hosting and my control panel is directadmin
is this possible ?