-
AuthorPosts
-
September 10, 2016 at 10:10 pm #27883
I want to point two copies of Symbiostock to the same set of images. I tried changing the “media location” on the second copy to match the location of the first install, but that isn’t working. I have a pretty good idea why that isn’t working, but not sure how to overcome the issue. I suspect the images need to be imported into the new copy, but how do I go about doing this without a second copy being created? Is there a way to make this work?
September 11, 2016 at 7:20 am #27885Use this to clone your current site to the new one:
https://github.com/wp-sync-db/wp-sync-db
Then change the media location as you previously did.
However, be aware that if you add or remove any media on either install, it will not reflect in the database of the other one, and you will get very weird broken bugs. So this is only recommended if you want the second WP install to reference the media files but not add/delete any.
September 11, 2016 at 7:51 am #27886Thanks Robin.
If I add/update/delete in the primary will it work to do another sync, or will that mess up the clone? Can I add things like licenses and products, or does that need to be done in the primary, also?
September 11, 2016 at 3:28 pm #27888You can do all sorts of things to each individual install, and it will not reflect in the other. The only exception is adding or deleting media, where the actual content of the folder is altered. In this case, if you add media to the first one, it will not show up in the second, and the second will not be negatively affected.
If, however, you delete one from the first that was added to the second previously, you will get “media not found” warnings eventually and then will have to manually delete those products from your second store.
If you do another DB sync it will override everything in the second store, including styles, settings, everything.
-
AuthorPosts
You must be logged in to reply to this topic.