How many times have you made changes to your website that might not work that could cause an inconvenience to anybody that is trying to view your website? Well if you are using wordpress you usually edit your website online, and as soon as you save it the changes will take effect on your live website, this can be a nightmare because it could mess up the appearance of your website and cause your visitors to become confused on where everything is.
Wouldn’t it be great if you could simply test these changes before putting them into action on the live web for everyone to see. Well now you can, i was looking around the internet a few days ago and found out a way of installing wordpress locally on your own computer, this means you can make as many changes as you want to your website and it will not effect your live website, therefore making the ease of visitors to your site more comfortable, then when you are ready you can simply upload your changes to your live website.
Ok so in order to setup wordpress locally on your computer this is what you have to do:
- First download the latest version of wordpress, here
- Then go here and download XAMPP Lite
- When the download is complete extract it to the root of your hard-drive e.g: C:\
- When the extraction is complete go to C:\xampplite and click on setup_xampp.bat
- Then click on xampp-control and start Apache and Mysql
- Then open up your browser and go to https://localhost/ then choose your preferred language on the left column
- Then click phpMyAdmin from the tools section in the left column
- type: wordpress into the create new database section then select utf8_unicode_ci then click create, that is the XAMPP setup complete now
- Unzip the wordpress folder you downloaded into the folder: C:\xampplite\htdocs
- Then browse to the folder wordpress in C:\xampplite\htdocs then you should see a file called wp-config-sample.php open it up in a text editor such as notepad or textpad then replace the default values with these:
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ”); // …and password (needs to be empty, just for local install)
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value - Then save the file as wp-config.php in the same folder as wp-config-sample.php
- Then open your browser and type in https://localhost/wordpress/wp-admin/install.php
Then follow the instructions and that’s it enjoy!
Have a look at the video below, i made it to show you how to do the above in case you had trouble doing it, i added some music so it wont seem so long!
Original instructions source: Geeksaresexy
Pingback: live local
Pingback: Recent Links Tagged With "geeksaresexy" - JabberTags