I moved my wordless website to another hosting but the CSS and images are not showing.But if I use the visual builder the site seems fine and also in the preview looks fine. I can’t understand where is the problem even if i click the save at the visual builder (divi) the site is still broken at the front end
6
Answers
Have you tried the plugin https://en-ca.wordpress.org/plugins/all-in-one-wp-migration/
@Web_Limitless
I’ve seen this happen on several migrations. The best solution I have found is to use All In One WP Migration. It’s a super simple tool and it makes migration wicked easy.
https://wordpress.org/plugins/all-in-one-wp-migration/
The other solution, which can be a pain, is to manually copy and paste your CSS and JS from the development environment to the live site.
When migrating Divi, sometimes the CSS / and Customizer settings do not follow.. you’ll have to Export from old site, and import to new one, this is available in the Customizer panel.
Actually when you transfer website to other hosting, in divi page builder it gets the image url of old website, so you have to update the images url again on new hosting and it will work fine.
I will give you options:
First option: Use All In One WP Migration
Second option: In the divi module that has image just re-upload or re-choose the image so that it will match the image directory to the new one. In this case you have to do it manually.
You are probably having links to the old website/server in your database. Use the inspector of your browser (right click -> inspect) and inspect the image which is not loading. Then have a look at the url of the image. It might still have the old url. You can either use a migration plugin or use a search and replace in your database to update the urls/paths to match the new server.