If you have migrated your WordPress website from one platform or host to another in the past few days, there is a good chance that you have embedded external images on your pages.
In this article, I will show you the correct steps for importing external images into WordPress.
Why are external images not imported correctly in WordPress?
External images are images that are embedded on your website and loaded from another website or URL that is different from your main WordPress website.

The image above this text is displayed correctly, but it is an external image from the WordPress.org website.
Most WordPress users struggle with the problem of external images after migrating their website from other platforms such as Blogger, Weebly, Joomla, or WordPress.com.
If you used the "WordPress Importer" plugin to import posts and pages, it will attempt to import the images as well by default. The problem is that although these are normally displayed correctly within the imported content, as shown above, they are not located within your media library and therefore have a different URL.
If the owner of the other website deletes the image, it will also be deleted from your WordPress site, as you are only uploading a copy of it to your site.
How to import external images into WordPress
First, you need to install and activate the"Auto Upload Images"plugin. To do this, simply select "Plugins" from the navigation bar on the right. To the right of the title, you will find the "Install" button. Click on it to upload the plugin, or use the search function to find it.

After activating the "Auto Upload Image" plugin, you should access the plugin settings to configure everything correctly.
The default settings are sufficient for most users, but you can change them as needed.
Among other things, the plugin imports images into the default folder for WordPress media uploads. If this is a problem, you can customize it. You can also specify the file names, alt tags, and image size during import.
Once you have made all the changes, remember to save the settings so that they take effect during import.
Start the first image import
To start the first import, you now only need to save all posts or pages once. To do this, you can open and update each post and page in the editor once.
If you want to perform the process on multiple posts and pages at once, you can start a "multiple action." To do this, select the "Customize view" button at the top right of the overview page for all posts or all pages.

Now enter the number of posts or pages you have in "Entries per page." You will find this information on the right below the search function.
After you have saved everything by clicking the "Apply" button, the page reloads and now displays all your posts on a single page, without pagination at the bottom.
Note: If you have slow WordPress web hosting, your server may not be able to update so many posts at once in the next step. In this case, you should specify a smaller number or consider switching to better WordPress hosting.
Next, select all posts or pages that are currently displayed. To do this, click the checkbox next to "Title." Then select the "Edit" option from the "Bulk Actions" menu and click the "Apply" button.

WordPress will now show you the options available for performing multiple actions. One great option is to change the author for multiple posts. However, since we only need to resave the posts or pages, simply click on "Update."
Once the page has reloaded, all external images will have been imported into your WordPress media library and will now be stored on your own server.






