Version of Xampp: XAMPP for Linux 64bit 7.3.3-1
operating system: ubuntu 18.04.2 LTS
Hi,
I'm trying to copy my wordpress site to my local server using lampp. I’ve followed the following tutorial:
https://premium.wpmudev.org/blog/move-wordpress-xampp/#manual-move
I'm following method 2: Moving wordpress website manually
I'm at the point where I need to load up my site & clear up my database (search & replace the url), but I can’t seem to bring up my website in a browser.
If it helps, here’s how my wp_config file currently looks:
define('DB_NAME', 'lvgh_local');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname (contained the folllowing: 'cust-mysql-123-20') */
define('DB_HOST', 'localhost');
/**localhost***/
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
//** **//
define( 'WP_HOME', 'http://localhost/lvgh_site_test' );
define( 'WP_SITEURL', 'http://localhost/lvgh' );
-----------------------------
In the browser:
If I type in http://localhost It just brings up the standard Xampp dashboard
If I type in https://localhost/lvgh/ I get the following error:
Error 404
localhost
Apache/2.4.38 (Unix) OpenSSL/1.0.2r PHP/7.3.3 mod_perl/2.0.8-dev Perl/v5.16.3
I put the website in the following location opt/lampp/htdocs/lvgh_site_test/ there is still another wordpress folder that came with the lampp install in the htdocs folder, which I don’t have permissions to get rid of, I’m not sure if that’s causing an issue or not.
Does anyone have any advice please? It would be a massive help if so.
Thanks