Archived topic
After migration image source pointed to old url
3 replies · Started by melvin on August 19, 2021
Hi,
I've migrated my site from development site to client live site. However i noticed that some of those images source are pointed to old site in GB https://imgur.com/a/8JyIeYx, but it doesn't happen to other plugin like Smartslider3 https://imgur.com/a/TKH5zRM.
May I know what causes those image source point back to development(old) site, and any idea on how to fix it?
Hi there,
Sometimes, parts of the plugins like generated stylesheets and/or things from database keep a static entry w/ literal text strings of what it saves. Some of these strings are likely URLs and they weren't converted do the destination site's URL when you migrated.
There are tools for this. The most common is this one - https://wordpress.org/plugins/better-search-replace/
What this does is, it lets you search for entries w/ the old domain and replace ALL instances with the new domain.
Hi Elvin,
Perfect, thanks for your kind support.
Regards,
Melvin
No problem. :D