UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Migrate to localhost…
- This topic has 6 replies, 2 voices, and was last updated 4 years, 6 months ago by Bryle Crodua.
-
AuthorPosts
-
April 16, 2020 at 10:42 am #555908Bill AntolecParticipant
I’m trying to build a new WordPress website. I had some help and had set up a staging site. Then we decided to make the staging site the live site and do the staging locally instead. I’m using Linux Mint 19.3 with LAMP (Ubuntu 18.04.1, Apache2 2.4.29, PHP 7.2, and MySQL 5.7.29) and WordPress v5.4.
I purchased UpdraftPlus Premium installed on both my live site and the local staging site. I did a backup of the live site. Copied the backup files to the local computer and then then followed your directions to do a restore. At the end I got the message that everything was successful!
I opened a browser and typed in “localhost/wordpress” and up came the site as I expected! However, as I clicked on the various pages for the site, every page reported not found!
Thinking I did something wrong, I did a new backup. Copied the files again and followed the directions again to do the restore. At first I got a message saying the old files needed to be removed. After I did that, the restore worked and ended with a successful completion message. Now my localhost site is really messed up! When I try to go to localhost/wordpress it comes up to part of a subpage with a not-found message in the middle of the page. Any link I click on attempts to go to the live site, not localhost. And if I try to “localhost/wordpress/wp-admin”, it replaces my link with the live site link.
It appears I’m really stuck now and can’t do anything! Help! What do you suggest?
Thanks,
BillApril 16, 2020 at 10:42 am #555909Bill AntolecParticipantThis reply has been marked as moderator-only.April 16, 2020 at 2:29 pm #556091Bryle CroduaModeratorHi Bill,
Can you try to reset the permalinks?
You can do this by going to your sites ‘Settings’ menu > Permalinks.
You will need to set this back to default or ‘plain’ and save settings.
Then set it again to your previous or preferred settings and then save settings again.Does that resolve the issue?
Regards,
BryleApril 25, 2020 at 3:11 am #562682Bill AntolecParticipantBryle,
Thanks for your suggestion and sorry for the delay. I’ve been otherwise occupied and couldn’t get back to you before this.
Here is the problem. When I go to localhost/wordpress/wp-admin it redirects me to my life site. I’m not able to log into the wordpress on my local machine. Any suggestions?
Thanks,
BillApril 25, 2020 at 11:07 am #562837Bryle CroduaModeratorHi Bill,
It seems like the tick the “Search and Replace Database” option was not selected during migration.
To fix, please see FAQ: https://updraftplus.com/faqs/migrated-site-searchreplace-database-can-now/Regards,
BryleApril 26, 2020 at 5:21 am #563381Bill AntolecParticipantBryle,
Thanks again for your help! I was sure I checked that checkbox, but maybe not!
Anyway, I followed the directions and modified my wp-config.php file. Now when I try to enter the site I get “This page isn’t working”. Seems like I really messed this up pretty good!
What’s the next best suggestion?
Thanks,
BillApril 27, 2020 at 4:23 pm #564461Bryle CroduaModeratorHi Bill,
Can you please send us a copy of the migration log?
You can find this log in the ‘wp-content/updraft’ directory of your new site location.
Please copy the contents into an online tool (such as https://pastebin.com/ ) and post the link here.Regards,
Bryle -
AuthorPosts
- The topic ‘Migrate to localhost…’ is closed to new replies.