Local Install of WP trashed my Online Version
-
I don’t know if this is the proper thread to post, but I’ll start here.
I have an online version of my website running just fine.
I wanted to create a local version on my laptop to test a new update to the theme I’m using before I went live with it. (Good idea, as it turns out since they replaced the slider and none of my sliders now work.)
HOWEVER…that’s NOT the problem.
SOMEHOW in trying to duplicate the site on my laptop (localhost:8888 – using MAMP) I noticed the localhost version switching to the online version. That is, when I clicked a link on the local install, suddenly I’m on the online site.
The procedure I used was to:
Download the home folder from inMotionHosting using their Backup routine
Download the DB
Pull out the subdirectory containing the online site
Edit the DB so that pointers online would be redirected to localhost
Bring up the site
Keep fiddling with the DB until the correct edits work.I know the problem occurred because I must have missed an edit in the sql database file, which, BTW, I have NOT found a single migration tool worth a darn (except PANTHEON).
Anyhow, then I go to the online site and all my links are trashed and the styling is gone!
THANK HEAVEN I had just backed up the file (BTW VaultPress is WORTHLESS – there is no clear indication of a total website backup – only segments that are WORTHLESS for reconstructing a backup – food for thought before you blow the $99 for a license).
I had, a couple of days ago done a backup through inMotionHostings’ cPanel. Restoring the DB fixed the problem with the online version.
I guess the point of this post is to ask if there are any best practices to creating a local copy of the online version of the website. Otherwise, you’re currently updating two separate versions all the time. (Although, I think i’ll have to take a closer look at Transmit’s Sync option. That MIGHT be the solution to this problem.)
Why would my localhost install “reach out” to the online version and change it?
Anyhow, any pointers to documents explaining how to do this would be appreciated.
Thanks,
John
- The topic ‘Local Install of WP trashed my Online Version’ is closed to new replies.