Can't successfully restore / migrate live WP to local WP
-
Specifications:
Computer: Mac Pro & MacBook Pro
OS: OS X 10.8.5
Application for local server: MAMP
Plugin: ithemes BackupBuddyI’m trying to restore a backup of my live website using BackupBuddy to a local server (MAMP) for testing purposes. I installed a brand new WordPress 3.8 script on my local server and installed the BackupBuddy plugin from the administrator panel.
The first thing I do is move the “importbuddy.php” and live website backup file to the local WordPress directory. Then I visit localhost:8888/importbuddy.php and follow all the necessary steps.
The problem I end up having is when I visit any page after restoring it doesn’t display any page and downloads a file simply called “download”. If I visit any page ending in “.php” (e.g. “localhost:8888/index.php”) it’ll download the file ending in the “.php” (e.g. “index.php”).
Here is an image example:
https://image.bayimg.com/df15c6dc106f57e90b423eb75ced54e8ed194b1b.jpgI did look inside the “wp-config.php” file and changed any field that was incorrect. I also made sure the empty database I selected in Step 3 of the ImportBuddy was restored and filled with the correct tables that are present on my live website.
Inside the “download” file it says:
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );
[ Please do not bump, that’s not permitted here. ]
- The topic ‘Can't successfully restore / migrate live WP to local WP’ is closed to new replies.