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
- Moved WordPress to New Server, Now Tries to Download a File
- Migrating Markdown (from Drupal)
- How to transfer a WordPress blog to a different domain?
- Broken CSS after changing the site URL
- Is it possible just by using wp-cli to migrate one multisite instance to single 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
- problem migrating files from https to http mock site – how to see mock site
- URLs to images get messed up after migration
- Does WordPress Import/Export tool actually exports media (images) as well?
- Links after moving my site to another domain
- Migrating my existing WP site to localhost
- 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
- call_user_func_array() errors after migrating site with InstantWP
- 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
- How do I force password reset even with wrong password entered?
- How to copy WordPress live website to Bitnami stack localhost?
- Tags not importing when using WordPress import system
- 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.”
- preventing the duplicate wp_insert_post
- Trying to move an Expression Engine site to WordPress, but not having luck with content
- Why is the domain name missing from the logout redirect?
- Migrate ProcessWire to WordPress
- Preserve password hashes when migrating to another server
- migrating my wordpress site
- Is it possible to transfer my local installation entirely to the server?
- migrated wordpress site not running properly, on Ubuntu localhost?
- Moving my newly made site from subdirectory
- 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
- wordpress changing host breaks image links
- Tried to move blogs to a new server – “white screen of death”
- Images in the post still pointing to older domain after domain change
- Blank screen after moving WordPress to new server with same domain name
- I changed my domain name and REST API stopped working
- Getting HTTP error 500 after migrating a website
- migration wordpress to local machine does not work with all broken URLs except frontpage
- Uncaught Error: Class ‘Redis’ errors on a site I’ve transfered to new hosting
- WordPress migration to new domain and environment with only zip file
- Server Migration Issues
- Use of domain name
- Migrating WP website from local host
- After migration the website is really slow
- How to remove symlink from folder
- Migrating stats from WordPress.com blog to self-hosted WordPress.org blog
- Transfer WordPress
- Migrating from foo.com/wordpress/ to foo.com/ — how can I do it?
- Deploying from local to dev: pages do not work
- Export WordPress from one domain to another domain
- Migrate VB.net website to wordpress website
- How do you do your big exports / imports?
- Import from Windows to Linux
- Migrate site from local to local via a backup
- Migration from environment to master WordPress
- After switch domain, some parts of my site still point to my old domain
- How to recover wordpress website moved from a PC to another
- Making a development site live, on Amazon EC2
- Update around 200,000 posts
- Do I need to be selective about where I search and replace when pointing a domain to a subfolder used for development?
- Migration from XAMPP in windows to MAMP in Mac
- Internal server error
- Redirects and Subdirectory migration to Root Directory
- Moving WordPress site from local PC to local Mac
- WordPress giving gibberish and wp-admin gives HTTP 500 error
- Moved wordpress dashboard still pointing to testing server
- WordPress migration ended with 500 Error page on pages excluding homepage
- Authorization link broken when migrating from Blogger to WordPress
- Migrating a WordPress site has broken UTF8 encoding
- How to make Youtube short code transfer
- Error after moving wordpress blog
- Source code get entity escaped after migrating
- Fast way to copy a Blog x to another domain/server without deleting it
- Can’t restore my wordpress site from zip back up file
- ColdFusion site to WordPress?
- How do I set up a test environment in a sub-folder?
- Change a web programmed in ASP.net to WordPress from scratch in the same Hosting
- Site is broken after transferring to adminer
- What’s your process for installing a brand new site when there is already an existing one?
- Will using the All-In-One WP Migration tool/plugin affect my live site? [closed]
- How do I setup my cpanel site backup on a local host?
- How can I dynamically set the base URL of an ACF custom URL field?
- White screen on home page after migration; no errors