In addition, you can import attachment by checking the “Download and import file attachments” option.
(source)
This means, if you use the official WordPress Importer plugin, it will read the media URL from the file, download that file and finally upload it to your new install.
When your old site is offline, eg. taken offline after malware infection, you won’t be able to import any media files this way.
If you have backups, you can try to play that in (media related db tables + wp-content/uploads/ folder). But you’ll need to take very close looks, as not to back up the previous infection as well.
Related Posts:
- What is the difference between wp-admin>Export>All content and MySql dump and import
- How do you do your big exports / imports?
- Migrating WP site to another URL
- Plugins to clone wordpress site and move to another url
- How to migrate a WordPress installation from one site to another, including all images?
- How can I export WordPress posts’ attachments?
- How to migrate WordPress Blogs into Multisite without using the GUI-Import/Export Feature
- Copy site from one multisite to another
- Importing New Posts from Live Site into Local Dev Site
- Why isn’t my imported database showing up? install.php pops up and adds new tables to the database
- Install WordPress on new server or just copy old files?
- How can I migrate (export and import) wordpress users without loosing their password?
- Tags not importing when using WordPress import system
- Create a clone from one WordPress site to another in a few minutes
- How do I fully migrate post images from one WordPress site to another?
- How do I migrate blog post images from one domain to a new one?
- Merging two databases without borking it
- Export + Import = wrongly duplicated content
- Problems with WordPress Import
- how to migrate wpmu from one host to the other?
- Uncaught Error: Class ‘Redis’ errors on a site I’ve transfered to new hosting
- How to remove symlink from folder
- When moving a WordPress installation to a new server, why do I have to update each post before content shows?
- product export and import using xml
- Export WordPress from one domain to another domain
- FTP not working on a specific WordPress site but working on others (and Filezilla) [closed]
- Import from Windows to Linux
- Syncing WP Database Changes Between Environments: How To Handle Merging w/o touching database
- Migrate site from local to local via a backup
- How to duplicate a website?
- What happens if I replace the files of a WordPress site with another WordPress site?
- Moving WordPress site from local PC to local Mac
- How to replace a wordpress installation in root directory with another in a subdirectory?
- Is it possible to get an exported WP site in a zipped folder up and running? [closed]
- Migrate bbpress content to posts
- Clone wordpress blog on localbox manually
- Can’t restore my wordpress site from zip back up file
- Change a web programmed in ASP.net to WordPress from scratch in the same Hosting
- Does WordPress import export tool keeps the file hosted on the old website?
- How to add Featured Image on WXR from External Conversion
- What’s your process for installing a brand new site when there is already an existing one?
- “Failed to import” error . How i fix it
- Copying WP data and files into new install?
- Failed to import Media
- WordPress Theme Options Import/Export
- Broken CSS after changing the site URL
- Problem: Create a cron job to export posts to a WordPress XML file on server
- Is there an easy way to migrate a site from SiteFinity to WordPress?
- Migrate Changes from a Staging Site to Production
- After moving wordpress some files still point to old directory
- How can I export and then import posts with featured images?
- How to just migrate posts/pages from one site to another?
- Migrating October CMS to WordPress
- MySQL Syntax Error upon restoring database from backup [closed]
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- How do i migrate a Multi site to individual site?
- How do I redirect my blog posts to a subdomain?
- Backup blog posts only
- Moving a WordPress site from one folder to another (one domain, one server)
- After finishing building a site on localhost, how do I transfer everything to a client’s server?
- How to copy WordPress live website to Bitnami stack localhost?
- Migrating entire online site to local server gives “The requested URL /login/ was not found on this server.”
- WordPress custom options storing?
- Why is the domain name missing from the logout redirect?
- Automatic Maintenance Mode during All in One Port
- How to export post 2 posts WordPress plugin data [closed]
- How to perform User Migration?
- WordPress localhost site always redirect to live site [closed]
- Clone WordPress site from development server to live server
- Server Migration Issues
- After migration the website is really slow
- Migration of WooCommerce site
- Image link issues after importing a database backup to my local web server
- Migrating from foo.com/wordpress/ to foo.com/ — how can I do it?
- Exporting by table
- Two-way synchronizing of a post type among multisite blogs
- Transferring theme and imported post attachments
- how to convert a wp multisite into a single site with content from subsites
- wp-config.php not affecting my site
- How can I migrate asp.net website to a wordpress site?
- Content export, reinstall and content import
- Migrate wordpress server to localhost problems
- Cannot combine two site’s pages together
- How to import several big Import XMLs?
- How can I export data without using any import/export plugin
- WordPress migration ended with 500 Error page on pages excluding homepage
- Authorization link broken when migrating from Blogger to WordPress
- How to make Youtube short code transfer
- Importing blog failed to download attachments from older (still online) blog
- Source code get entity escaped after migrating
- how to import custom taxonomy (& terms)
- Migrated from localhost to server and cannot get custom_fields content anymore
- Host Images from Link
- Import/Export WordPress demo
- WordPress.com blog migration to self hosted WordPress website [closed]
- Siteurl code for links
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- Site is broken after transferring to adminer
- wp-admin keeps forwarding me to an old url
- White screen on home page after migration; no errors