Migrating live site to dev site, IMage url issue
-
I created a subdomain for this live site, watershedgeo.com, and copied over all files in cpanel to a dev folder and we’re using the temp url for the dev site, https://vps3813.inmotionhosting.com/~watershedgeo/dev.watershedgeo.com/.
The database uses that url for the siteurl and i’ve defined it in the config file. Also the dev site is using our dev database.
The issue is that even though the site loads, the images are broken. If I investigate on the front end with chrome inspector, the image URLs are using the tempURL but if I change the root to watershedgeo.com, leaving wp-content/uploads path intact, the pictures load properly. I’ve tried the velvet plugin to do a search and replace but doesn’t seem to work
This is just for development so if I could just get the pictures to load that way, by changing the root of the url, i could do waht I need to do.
The page I need help with: [log in to see the link]
- The topic ‘Migrating live site to dev site, IMage url issue’ is closed to new replies.