Support » Accessibility » how to share photo files between 2 domains

  • Hi, I have 2 shops on woocommerce, and they are on 1 hosting. some of the items i want to sell on both shops but i don’t want to upload the same photos 2 times. is it possible to share photos between those 2 domains?

Viewing 1 replies (of 1 total)
  • Hi @customplug

    Yes, sharing photos between two domains on the same hosting is possible. To make this process easier, you can use a few different methods.

    1. For starters, you can use a plugin such as the WordPress Multisite Content Copier/Updater plugin. This plugin allows you to share media files across sites on your network, so you only have to upload them once.

    2. Alternatively, if both of your sites are on the same hosting account, you can use the same uploads folder for both sites. This way, uploading a file to one site will automatically be available on the other site. To do this, you need to edit the wp-config.php file for both sites and define the UPLOADS constant to point to the same folder.

    3. Finally, you can also use a content delivery network (CDN) to host your media files. A CDN is a network of servers that deliver web content based on the user’s geographic location. Using a CDN, you can host your media files on a central server and access them from both sites.

    We hope this information has helped make it easier for you to share photos between two domains on the same hosting. If you have any other questions, please don’t hesitate to reach out.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.