Last Updated: November 23, 2014
Test Your WordPress Site Locally tutorial will show you how to run your live website locally using Xampp. I will be using BackWPup backup to install and setup my live website locally for testing using Xampp and Windows 7.
Important Information: These steps can be applied to just about any backup plugin as long as the backup is a full backup which includes all the files, folders and the database.
Latest News: I have added two more links to the menu below.
Install WordPress Locally Tutorials:
- Install WordPress Locally Using Xampp
- Install WordPress Locally Page Two
- Test Your WordPress Site Locally (Optional if you need to test your live website locally)
- Test Your WordPress Site Locally Import Database (Optional = you must complete part 3 above first)
- Test Your WordPress Site Locally Edit WP Config File (Optional = you must complete part 4 above first)
Test Your WordPress Site Locally Steps
1 ) Start Xampp Apache and MySQL. See image below.
2 ) Locate your BackWPup backup folder locally to copy over to the local server “Xampp”. Remember to unzip the folder, to copy the files. See image below.
3 ) The files are being copied over to the Xampp server “local”. See image below.
4 ) Start phpMyAdmin to import the database from BackWPup folder we just copied over to the Xampp local server. See image below.
5 ) We need to drop all the tables from the local WordPress install before we can import the database. Click on Check All to select all tables. See image below.
6 ) Click on Drop to drop all tables selected. See image below.
7 ) A window will open up asking you “Do you really want to: “, click on Yes. See image below.
8 ) Click on Import and then click on Browse to search for the database to import. Notice that I am allowed to import 128M file size into the database (Please review the first tutorial Install WordPress Locally Using Xampp Step 3 to learn more about making changes to Apache). See image below.
Click on the following URL Test Your WordPress Site Locally Import Database to continue with the local set up.
If you have any question please let me know. I will be updating this tutorial from time to time so come back for the latest.
I hope this tutorial helps you.