I have just followed the following guide on manually migrating a WordPress site to localhost: http://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
I have followed all of the steps: downloading files using FTP, exporting database, importing to localhost database, changing url links to localhost and finally updating wp-config.php
I tried this on two of my sites and came across different problems:
- 'Safari cannot connect to the server' error message
The following text displayed on the screen:
<?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' );
Can anyone advise as to how I can make my website display?