Site not looking right after migration

Hi, I was wondering if you can point me in the right direction. I just bought a digital ocean droplet and connected it to ServerPilot.

  1. I installed a fresh WordPress via ServerPilot. -For the Domain in ServerPilot area, I entered my DO server IP so that I can see the site before going live.

  2. I installed All-in-one WP migration on the new WP.

  3. I went on my main site and exported the site with All-in-one WP migration

  4. I went on my DO server: http://my.ip.address/wp-admin and imported my site from

But when I visit http://my.ip.address my site lost its format and some pages have no text.

I thought maybe I would need to use the “Better search-replace” plugin to change all the to the IP (as shown in picture). I did that but it didn’t change anything.

Can you advise me what I should check to fix this? I want to learn how to do this myself but I have no idea where to begin.

Thanks for your help


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


All-in-One WP Migration creator here.

The plugin will do the replacement for you during import. You do not need to use any additional database search and replace.

My guess here is that you are accessing your website from 2 URLs. http://ip address

If that is the case, one of the urls will work while the other will be broken.

Hello, @mike212916

If you would like to have the site accessible from the server IP then you need to update the references in the database from the domain name to the IP address that is correct. There are few ways to do that and one of them using the Better search-replace. I personally prefer to use the following script: as it’s proven to work just fine.

Also an alternative way is to use a plugin called “Duplicator” it will update all of the paths and references from the dev domain to the main domain. This is why we usually recommend using a plugin called: Duplicator. The plugin will generate a backup for your website’s files and database. Then when you import the files to the new domain, all of the references for the old domain name will be updated properly with the correct ones.

However from my point of view this is not actually needed, because you can simply migrate the website to your droplet and access/view the site from there. If the domain name is still not pointed to your Digital Ocean droplet you can still preview the site by altering your local hosts file on your machine (PC). In this way you can check the site and see if it was migrated okay.

I assume that there are still references for the domain name that needs to be updated or there might be a hard-coded references in the files. However you can simply open the browser’s console and see if there are some files/resources reported as missing (404) and etc

Let me know how it goes.

Regards, Alex