Site logo

Archived topic

Images Go Missing after migrating it to live from local development

3 replies · Started by Erin on May 12, 2021

Viewing posts 1–4 of 4

Has anyone experienced issues with developing on a local development then losing all the pictures after migrating it to live?

My hosting tech support said this:
"the Local push appears to have finished and kicked off a search-and-replace, however, it looks like a plugin installed on the site is retaining a few references to the .local domain which is causing a few images to not show up.

It all relates to the generateblocks plugin. There are a bunch of CSS files under wp-content/uploads/generateblocks that contain links to 2021-jenkins-virtual.local. As the domain is hardcoded in the CSS files, that'll never get picked up by the search-and-replace process as that's only performed on the database.

Do you know if there's anywhere within that plugin to clear the cache or regenerate the CSS files? I'm not super familiar with this plugin, so I'm unsure whether or not it'll just crank out a fresh copy of the CSS with the correct domain"

Question: How do I fix this? I am having this issue on multiple sites now

Yes, that worked!! thank you!!! I didn't even know I could do that.

No problem :)

This archived topic is closed to new replies.