Media url for some subdomain without /sites/(id)/
-
Hi guys,
We run a couple of semi-big sites using WordPress and our next step is to use multisite for one of them (or maybe all). I’m completely new to multisite but setting everyting up was pretty easy, however I ran into one little problem. For some subdomains, but I’ll start with one, I want to disable the use of /sites/(id)/ in the media URL.
The situation
In the network the main site and a subsite (should) act as sandboxes and (should) get their media from the live sites on other servers with the cdn function of W3C Total Cache. I’ve exported the databases with phpmyadmin from the live sites and imported them into the multisites.So this is where I’m at now:
Mainsite – media from https://*livesite1*/wp-content/uploads/
Subsite1 – media from *server*/wp-content/uploads/sites/2/
Subsite2 – media from https://*livesite2*/wp-content/uploads/ instead of https://*livesite2*/sites/3/wp-content/uploads/One tricky part is that I’m currently doing this on a shared webhosting account we had lying around (live sites are on VPS) on IIS with iirf.
Thanks!
- The topic ‘Media url for some subdomain without /sites/(id)/’ is closed to new replies.