change upload directory in multisite
-
Hi there,
I have WordPress in multisite / subdomains.
I’m trying to put all my media in a common subdomain, ie images.mydomain.com, mapped to folder www/images.
It works well with my main domain.
I can’t make it work for the subdomains.
If anybody has a clue, it would be most appreciated.
Thanks in advance!Relevant information :
in .htaccess : RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
in wp-config : define(‘UPLOADS’, ‘/www/images’);
in settings / media for both main domain and subdomains : UPLOAD PATH : images/
UPLOAD URL : http://images.mydomain.comFor my main domain, images are uploaded to images.mydomain.com.
For subdomains, they go to subdomain.mydomain.com/files
The topic ‘change upload directory in multisite’ is closed to new replies.