I have a WordPress site that I developed with Local and has localhost url. I got a new hosting plan and domain name and I successfully pointed the domain to the new hosting.
I tried to do the migration and I used the WordPress plugin "WP Migrate" and I performed the find and replace using the new domain url.
I forgot to do a backup of the database before doing the find and replace and now my site doesn’t show any photos, styling and JS.
Is there any way I can restore the previous localhost url and do the process again?
2
Answers
You can check the wp_options table, if URL is properly replaced.
Or, you can backup DB and again replace new URL to localhost URL to get back the DB to previous state.
The URL replace will affect only serialised array strings only.
First of all, please save parmalink on live site.
Then check your option table site url and home url
Try find replace old url