How to move image to another subdomain's public folder?

Updated: Feb 18, 2025

How to move image to another subdomain's public folder?

To move an image from one subdomain to another subdomain's public folder, you need to follow these steps:

  1. Log in to your hosting account: First, you need to access your hosting account where your websites are hosted. You can log in to your hosting account using your hosting provider's control panel or FTP client.

  2. Download the image: Once you have logged in to your hosting account, navigate to the current subdomain's public folder where the image is located. Use an FTP client or the file manager in your control panel to download the image to your local computer.

  3. Upload the image to the new subdomain: Next, you need to upload the image to the new subdomain's public folder. Log in to the hosting account of the new subdomain using an FTP client or the file manager in your control panel. Navigate to the public folder of the new subdomain and upload the image there.

  4. Update the URL in your code: After uploading the image to the new subdomain, you need to update the URL of the image in your code. If you are using HTML, update the image source attribute in the img tag. If you are using a CMS like WordPress, update the image URL in the media library or the post editor.

  5. Test the image: Finally, test the image on the new subdomain to ensure that it is displaying correctly. Open the webpage in a new browser window and check if the image is loading from the new subdomain's public folder.

In summary, to move an image from one subdomain to another subdomain's public folder, you need to download the image from the current subdomain, upload it to the new subdomain, update the URL in your code, and test the image on the new subdomain.