Problems migrating WordPress to localhost


I have just followed this guide on manually migrating a WordPress site to localhost.

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.

I tried this on two of my sites and came across different problems:

  1. Safari cannot connect to the server’ error message
  2. The following text displayed on the screen:

“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. 
* * Yavar Mammadov 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?

, EmmaJ 6 years 2017-07-15T16:16:53-05:00 0 Answers 83 views 0

Leave an answer