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
- Site is not fully working after migration
- How can i convert my Delphi.NET project to Delphi Prism?
- Moved WordPress to New Server, Now Tries to Download a File
- Do you have any effective strategies for launching a v2 of a WP site?
- After Moving a Site to Another Domain, All Images Are Lost
- Migrating Markdown (from Drupal)
- Change site url when moving site to another url?
- How to transfer a WordPress blog to a different domain?
- Migration issue – blog home page is blank
- Recover WordPress blog from an inactive domain name
- Broken CSS after changing the site URL
- Is it possible just by using wp-cli to migrate one multisite instance to single site?
- Make WordPress “readonly” on a given site
- Is there an easy way to migrate a site from SiteFinity to WordPress?
- How to transfer changes from test environment to live site?
- Migrate Changes from a Staging Site to Production
- References to other site everywhere in WordPress site
- Plugins to clone wordpress site and move to another url
- Export and overwrite pages on import?
- 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?
- URLs to images get messed up after migration
- 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
- Does WordPress Import/Export tool actually exports media (images) as well?
- Links after moving my site to another domain
- Transfer of wordpress site from one domain and server to another domain and server
- Migrating my existing WP site to localhost
- Will post id change when migrating to new site?
- 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?
- Critical Site Health Issue after WordPress Migration
- 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
- Migration / convert an existing site to WordPress
- 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?
- Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation
- Remapping absolute URLs from other domains and from test domain
- Can I setup WordPress in a subdirectory and then point my URL to the subdirectory when I’m ready to go live?
- call_user_func_array() errors after migrating site with InstantWP
- 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 do i find out why links point to my old domain
- We have a static Hugo website and we want to migrate it to WordPress
- Save (same) permalink from wp-cli
- How do I force password reset even with wrong password entered?
- Changed site URL and now my Front Page doesn’t display correctly
- How can I migrate (export and import) wordpress users without loosing their password?
- WordPress Odd migration issue
- How to copy WordPress live website to Bitnami stack localhost?
- Localhost: WordPress redirecting to a different URL
- Tags not importing when using WordPress import system
- Ways to work offline with your WordPress
- Move from Subdomain to Root
- Migrate from CMS Made Simple to 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
- migrating local dev site to live site with no downtime
- How do I fully migrate post images from one WordPress site to another?
- preventing the duplicate wp_insert_post
- WordPress Network (MU): Copy Main Site to Sub-Site
- Is there a way to migrate via wordpress dashboard?
- Trying to move an Expression Engine site to WordPress, but not having luck with content
- Changing WordPress domain
- Why is the domain name missing from the logout redirect?
- Migrate ProcessWire to WordPress
- Preserve password hashes when migrating to another server
- Cannot complete migration on LAMP
- Why do menus break on site url and folder change?
- Nginx mamp pro5 migration home page works all other do not
- Automatic Maintenance Mode during All in One Port
- migrating my wordpress site
- Is it possible to transfer my local installation entirely to the server?
- How do I migrate a Website of this size ( Archive: 24GB, DB: 256 MB )
- migrated wordpress site not running properly, on Ubuntu localhost?
- The easiest way to migrate a wordpress website across servers
- Moving my newly made site from subdirectory
- Can only access homepage and admin panel
- What is the difference between wp-admin>Export>All content and MySql dump and import
- Clean private data (passwords, ftp, database) before zipping my site and SQL and give it to other person
- how to update link on live site from test site
- Mixed Content warnings google fonts
- Migrating to local server