Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5534

mfioretti on "Can different wp databases share the SAME UPLOADS FOLDER?"

$
0
0

Greetings,

this is a simplified version of the only part of this other thread

https://wordpress.org/support/topic/sharing-uploads-folder-among-different-blogs?replies=3

that is still a very "open issue" to me, that is I fear that even if I test it and it seems to work, I have no idea if it would continue to work after the first updates!

If I create several, independent wordpress blogs, each with its own database, installed side by side under the server root:

$ROOT/blog1
$ROOT/blog2
$ROOT/blog3

but configure ALL of them, in their wp-config.php, to use as uploads folder the SAME place, that is $ROOT/uploads...

will this corrupt the databases, and therefore the blogs? I mean, what will happen if an image is uploaded by user1 of blog1, what will happen to the databases and media library interfaces/caches whatever... of blog2, blog3?

  1. Will they crash, because they find in there a file that they did not upload?
  2. Will they NOT see that file, just because it was not updated from blog2, blog3?
  3. Something else?

I want to do this because while they would be independent blogs, they WOULD share a lot of images. So having one upload folder only, that is only one copy of each image, would save a lot of space AND time (you only upload one image once, then it appears in the media library of all the blogs.


Viewing all articles
Browse latest Browse all 5534

Trending Articles