Help copying wordpress site to local Lampp server
-
Version of Xampp: XAMPP for Linux 64bit 7.3.3-1
operating system: ubuntu 18.04.2 LTSHi,
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 manuallyI’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’, ‘https://localhost/lvgh_site_test’ );—————————–
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.
In the browser:
If I type in https://localhost It just brings up the standard Xampp dashboard
If I type https://localhost/lvgh_site_test into the address bar of my browser, I’m just getting a pop up window that’s asking me to open or save a file?The file is called: Vxp+tb43 and contains the following info:
<?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’ );Does anyone have any advice please? It would be a massive help if so.
Thanks
- The topic ‘Help copying wordpress site to local Lampp server’ is closed to new replies.