- put your files to your file system on server as usual
- create phpinfo file and put it to the same folder as your WP
- find relative path (
$_ENV['CONTEXT_DOCUMENT_ROOT']
or$_ENV['DOCUMENT_ROOT']
) - update relative path of web hosting everywhere in your SQL in
wp_options
(try to find e.g.uninstall_plugins
) - in wp_options update also first two inputs
OR
just put this to your wp-config.php and everything else should be set automatically:
define('WP_HOME','http://localhosturl.com');
define('WP_SITEURL','http://localhosturl.com');