Multisite and Domain mapping media upload issue
-
Multisite and Domain mapping media upload issue
===============================================When using the media uploader (browser and flash) domain mapping appears to be interfering with the rewrites that multisite uses for /files.
subdomain.domain.com/files gets redirected to http://www.subdomain.com/files. That returns a 404 since its trying to load a page rather than getting redirect to the sites folder in blogs.dir.
I’m in the process of upgrading the version of WordPress used, but cannot finish that until I’ve completed testing it against our internal WordPress plugins.
I would like to know if this behavior is normal when using multisite and domain mapping together and if there is a simple fix that I can put into place before doing the WordPress upgrade.
Multisite
———
domain.com
then several sites as subdomains
aaa.domain.com
bbb.domain.com
ccc.domain.com
…
site options (using aaa.domain.com as example blogID of 2)
domain aaa.domain.com
Siteurl http://aaa.domain.com/
Home http://aaa.domain.com/
Upload Path wp-content/blogs.dir/2/files
Fileupload Url http://aaa.domain.com/filesDomain mapping
————–aaa.domain.com mapped to aaa.com, with aaa.com as primary
bbb.domain.com mapped to bbb.com, with bbb.com as primary
ccc.domain.com mapped to ccc.com, with ccc.com as primary
…Options enabled
Remote Login
Permanent redirect
User domain mapping page
Redirect administration pages to site’s original domainApache config
————-vhost for each site (domain.com, aaa.domain.com, bbb.domain.com, ccc.domain.com)
servername is site name
serveralias for any domains the site is mapped to
htdocs for subdomains (aaa.domain.com, bbb.domain.com, ccc.domain.com) is a symlink back to domain.com’s htdoc.Thanks,
Michael
- The topic ‘Multisite and Domain mapping media upload issue’ is closed to new replies.