The easiest way is to use the Cache Image plugin, which ‘sideloads’ images in your posts that are from other domains.
I’ve had mixed results, mainly because it seems to not work well for thousands of posts and images – if your site is smaller you may have better results.
Related Posts:
- Import Images from one self-hosted WordPress install to another
- Use image url with add_image_size
- Is it possible to recover featured images after WordPress export/import
- Update Attached Image Size after Import
- How to export post meta with images in wordpress
- Moving media library to the media library of completely different site
- Imported posts using wrong domain name
- Moving Posts to a new site and maintaining URLs
- Function to get custom post image URL
- WPALLIMPORT Exporting images from repeater field [closed]
- Where can I add list of external URL for WP ADD link tool?
- Import / Export database with SQL Server Server Management Studio
- Remove Project from Android Studio
- Where does the Media Library live in the database?
- How do you retrieve a post by slug name through REST API?
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Why “?v=hash” is added to my URLs? [closed]
- Detecting a WordPress URL without doing a full HTTP GET?
- How does WordPress generate URL slugs?
- How does routing on wordpress work?
- Failed to import Media
- Redirecting to old domain after migration
- Programmatically get images by URL and save in uploads folder
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- Function to get URL of original uploaded image – full size
- Unwanted media library URLs in posts?
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- How to remove file versions from the file source links in wp_head?
- use query string in URL to display content on the page
- Change default URL path (/blog/) of blog posts
- Difference between esc_url() and esc_url_raw()
- How to deal with WordPress on localhost
- Problem with guids and absolute links
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Is it possible to “freeze” a WordPress blog?
- How to reference a theme image in a stylesheet?
- How to convert the file path to a URL of the same file?
- Add menu and submenu in admin with a URL instead of slug?
- Mixed content warnings after changing site adress from HTTP to HTTPS
- Update media file url in wordpress media library
- Why is WordPress saving full-urls to the database?
- WordPress Theme Options Import/Export
- Export navigation menu
- Get taxonomy slug from url
- One Click demo content installation feature in WordPress theme options panel
- Load images with http urls inside https post
- Remove All Query Arg
- Import and replace existing page/post content
- Export WP database for import using WP-CLI on Vagrant Box
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- How to remove /index.php/ from URL’s
- Run WordPress frontend and backend in different domains
- How to make WordPress use protocol indepentent upload files?
- How to set global variable in functions.php
- Force the Website URL to Include “www” and to be Upper Case?
- How to remove “http://” When Echoing URL?
- Change logo url link
- WordPress and $_GET Params
- Migrating WP site to another URL
- Can’t login after my site was moved to a new server
- WPML Get url without outputting
- How to migrate a WordPress installation from one site to another, including all images?
- List of default WordPress URLs
- Programatically creating image attachments from local URLs and setting featured image
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Adding a hook to ‘parse_request’ so that siteurl/pagename/xyz ignores “xyz”
- How to have numeric URLs in Posts and Pages
- Unable to load static front page on home url
- WordPress Export Import Site Navigation Menu
- How can I export WordPress posts’ attachments?
- Force home page to be https?
- How to completely export and import WordPress?
- Preview Image Path in Admin Section
- Import and export links from WordPress.com to private site
- Why WordPress automatically removes http from the url of my website’s sub domain?
- add_query_arg() One Key with multiple values
- Having Problem On Getting WP Post Gallery Images URL
- Weird: /?name in URL leads to blog
- I am Looking to append URL Parameter to all URLs
- How do I amend the fixed “author” part in the URL?
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Dynamic URL generates dynamic content
- Moving wp-content outside of web root?
- Pages redirected to attachment post
- Generate one time URL
- In Settings>>General I am missing some fields
- How to migrate WordPress Blogs into Multisite without using the GUI-Import/Export Feature
- Change homepage url
- Download/View Schema (or DTD) for XML Import
- Change website URL without breaking links or images? WP 3.3
- Exporting just posts of a specific category
- Why would image paths in wordpress suddenly change?
- Change default URL of image attachment
- As soon as I add a custom query_var using the filter, my pages point to an archive page – why?
- GUID not updated on import
- how to grab first link in post… and of course call it
- Is dynamic URL possible in WordPress
- How can I export and then import posts with featured images?
- Does WordPress Import/Export tool actually exports media (images) as well?