Remove upload folder ‘/site/blog_dir’ for remote media server
-
I am migrating my single sites to a big multisite, and I just spot that all image paths now have ‘/sites/blog_dir/’.
Though I fully understand WP developer’s intention for this, following the structure forces me to change all my image folders in Amazon S3. And, for the shared image buckets across multiple sites, I am in a bigger trouble.
I have found a few suggestions to remove ‘/site/xx/’, but none of them worked.
- Shared Uploads Directory in WordPress Multisite – I Like Kill Nerds
- wordpress multisite remove /sites/{ID}/ automatic upload url – Stack Overflow
- Better WordPress multisite image URLs – Chris Hardie
The code lines make sense, so they should work. But it didn’t. Instead of adding them in code snippet, should I add it other core phop files? This is the last thing I want to do, but I believe WP blocks the attempt at the top level. Is there any working solution for my problem?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.