Multisite image path
-
Hello,
I have a multisite hosting site 1, site 2 and site 3. Sites 2 and 3 are copies of site 1. My images source from local folders:
https://website.com/wp-content/uploads/2022/11/logo.png
https://website.com/wp-content/uploads/sites/2/2022/11/logo.png
https://website.com/wp-content/uploads/sites/3/2022/11/logo.pngSince all my sites are almost identical, I want them to source from the same folder, so that they all pull from:
https://website.com/wp-content/uploads/2022/11/logo.png
So far I have:
Changed the “url_path” and “upload_path” to be “https://website.com/wp-content/uploads/”
Search&replace “/sites/2” in my “site2” database.
These efforts have not lead to changing site 2 to serve images straight from the upload folder.
Is there something in the multisite mechanic that I need to change in order for all sites to pull images fro upload folder root and not from the “sites/x/” substructure?
- The topic ‘Multisite image path’ is closed to new replies.