Image URLs in the post content aren’t affected by the “WordPress Address” and “Site Address” settings. They’re part of the text of the post, rather than something that’s generated using those settings. If you’ve moved to a new domain, you’ll need to change these URLs.
If you’re comfortable using the command line, I recommend installing wp-cli
(if you haven’t already) and then using its powerful search-replace
command. I always do a dry run of any search-replace
command first, to make sure I’ll see the results I expect.
wp search-replace --dry-run https://old-domain.com/ https://new-domain.com/ --report-changed-only
…and then, if I’m satisfied it’s going to replace the strings I need it to replace (and, crucially, only the strings I need replaced)…
wp search-replace https://old-domain.com/ https://new-domain.com/ --report-changed-only
Related Posts:
- Change old URLs after the domain change
- 500 Internal Server Error after attempting to switch from subdirectory to addon domain
- How do I redirect my blog posts to a subdomain?
- Moving WordPress page to a new domain
- Why WordPress isn’t and/or can’t be domain agnostic
- Server ip to Domain
- Wrong URL to CSS and JS after change domain
- How do I move my WordPress domain to another domain?
- Migrating domain name from old WP host to new (which uses vhosts)
- Changing a domain for a current WP site without having it go inactive
- wp-admin keeps forwarding me to an old url
- How can i convert my Delphi.NET project to Delphi Prism?
- Do you have any effective strategies for launching a v2 of a WP site?
- Migrating Markdown (from Drupal)
- Broken CSS after changing the site URL
- Make WordPress “readonly” on a given site
- problem migrating files from https to http mock site – how to see mock site
- How to upload local changes to a live server without overriding new posts/pages?
- How can I assign post a specific ID on creation?
- Migrate localhost to server
- What’s a better workflow for database migration?
- Error establishing a database connection After Copy localhost wordpress site (with site url directly to hosting server’s url before copy)
- How to migrate from wordpress.com to self-hosted wordpress
- How to just migrate posts/pages from one site to another?
- Setting up WordPress playground and deploying to production server?
- How do i migrate a Multi site to individual site?
- Migrated site redirects to localhost after successful login
- Error migrating from live website to localhost
- Copying wordpress to another server breaks it on original server
- Remapping absolute URLs from other domains and from test domain
- 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?
- Save (same) permalink from wp-cli
- Changed site URL and now my Front Page doesn’t display correctly
- WordPress Odd migration issue
- How to copy WordPress live website to Bitnami stack localhost?
- Localhost: WordPress redirecting to a different URL
- Ways to work offline with your WordPress
- Migrating entire online site to local server gives “The requested URL /login/ was not found on this server.”
- Point domain to different webhost’s subdirectory wordpress
- How do I fully migrate post images from one WordPress site to another?
- WordPress Network (MU): Copy Main Site to Sub-Site
- Is there a way to migrate via wordpress dashboard?
- Changing WordPress domain
- Why is the domain name missing from the logout redirect?
- Cannot complete migration on LAMP
- Automatic Maintenance Mode during All in One Port
- How do I migrate a Website of this size ( Archive: 24GB, DB: 256 MB )
- Can only access homepage and admin panel
- Mixed Content warnings google fonts
- Import wordpress mysql database to unknown server / domain
- Moving Some Articles to new site
- The entire wordpress theme reset to default after uploaded to live
- How to perform User Migration?
- Is a *.wordpress.com blog easy to migrate?
- I’m hiding site with index.htm but now I can’t get to index.php
- How to do a clean transfer of WordPress site to a new server?
- Migrating WordPress – New domain entry, links broken
- Absolute Hyperlinks in WordPress Website Will Not Work In the Local Server
- Migration of WooCommerce site
- Transfer WP from subdomain to main domain
- FTP not working on a specific WordPress site but working on others (and Filezilla) [closed]
- Duplicator Pro plugin with Docker on local?
- Guide to migrating a WordPress development site to a running live site
- Is there a way to migrate my wordpress blog to another website that uses a different domain?
- How do I move a WordPress site on the same server?
- Translation working on staging site, not on live one
- WordPress white screen of death
- Issue In Links after migrating from Live server to Localhost XAMPP
- Is it possible to migrate a wordpress website to another wordpress account?
- Long loading site after migration
- How to duplicate a website?
- How to move my website to wordpress?
- White screen after moving site to new server
- What happens if I replace the files of a WordPress site with another WordPress site?
- my images are not showing when i upload them, they apear as placeholders
- Migrating WP site to localhost using Duplicator
- Transfer WordPress intranet site from my pc to the company local server
- WordPress featured images: migrating from dev to live site
- WordPress white screen
- Upgrading a wordpress site to its newest version
- How to move a locally built wordpress website to live server using wordpress importer
- Copy template with plugins to another hosting provider
- All styles are looking for the site URL twice
- Image src empty after migration
- Is it possible to get an exported WP site in a zipped folder up and running? [closed]
- Export/Import xml
- Migrating WordPress site from subdirectory to subdomain
- Static HTML to WordPress migration
- Clone wordpress blog on localbox manually
- Moving Site From Development to Production
- Migration Question
- Widgets are not showing after moving domain
- Moving Large Number of WordPress posts from One wordpress site to another existing wordpress site
- WordPress migration from live server to localhost having 404 error? [closed]
- Site admin can login but cannot access wp-admin after domain migration?
- Moving wordpress to root folder = internal server error
- How to migrate new web design to an existing website?
- open_basedir restriction in effect after migration from LAMP to WIMP
- How to add Featured Image on WXR from External Conversion