Installing your site in WordPress locally is not just a personal satisfaction or one of those things to give a tone as expert programmer. Let’s make it straightforward, being a real developer is just another thing, but having a version of your website locally is absolutely paramount to whatever your project is!
We go with order. Surely you will already know it, but repetita never hurts: an Internet website – that is based on WP, on other CMS or ‘static’ html pages does not matter – just as we all understand it is technically ‘remotely’ , Away from your PC and reachable – to make it short – through the network from everyone, from your neighbor to the Eskimo at the head of the world ( As long as it is provided, between a seal and the other, with internet connection;) ).
Making a copy of your website ‘locally’ instead means simulating your site on your personal computer, and only on yours! In a nutshell, you will navigate and edit your site at will, but others will not see your site online (if you have a copy only locally) or will continue to see it unmodified (if you have the site at the same time and remotely and you are Making technical / graphic changes to your ‘local’ copy only) …
The advantages are obvious:
a) You can make all the changes you want by testing your site and only indulging in your ‘local’ version while your readers / visitors continue to navigate your ‘remote’ site;
b) You can create your own project locally and then transfer it remotely at the right time and launch your product already finished and ready!
I think I’ve been too boring in explaining the difference, so … we enter the conversation alive!
1 – First Step: Download Xampp o Mamp
First you have to get your virtual ‘engine’ running locally (on your pc). They exist in various numbers but the most used because they are more reliable are Xampp for Windows / Linux and Mamp for Mac.
At this point you only have to install Xampp / Mamp, your local server. Get the file you just downloaded and double-click to start the installation. The rest is all very intuitive, just look at the directory where the program will be installed and if you prefer to change it to your liking. We’ll come back later …
2 – Second Step: Download WordPress
Now already we are on the web we also give a look on WordPress.org (not ‘.com’ I recommend!) And download the latest release of WP released.
Once you’ve downloaded your WordPress .zip package, you just have to extract and rename it (it’s not mandatory, but especially if you want to install multiple sites locally, it will be useful to avoid confusion) with your site name: in this folder will be materially all your WordPress site!
3 – Third Step: Turn on the engine and create your WP directory
At this point you just have to create the directory where your WordPress site will be installed. To do this you have two ways, on the one hand remember where you installed Xampp / Mamp, on the other start your Xampp Control Panel and click on the Explorer button on the right. You will find yourself inside the path where you previously installed the virtual server. In any case, you will only need to locate the htdocs folder, enter the folder and copy the folder of your site. The game is done!
There are, preliminary work is pretty much completed, you just have to start the engine from your Control Panel by clicking Start next to Apache and MySQL modules …
Continue reading the guide, Go to the part II: Install WP locally: PhpMyAdmin and the installation step by step