This is a quick step by step guide on how to load WordPress (wp briefly) on your web site.
The software that you will need (and I suggest to use) during the wp installation and configuration are:
- Your favorite browser.
STEP 1) First of all you need the wordpress files. Just download it from here. Currently, the available wordpress version is 4.1.1, but I'm sure that while you are reading this post a newer version has been released. The download is a zip file, so you need to uncompress it.
STEP 2) In order to install wp you need to configure it. For instance, wp needs a database, usually mysql, to store the articles, comments and so on. Inside the main folder there is a file named "wp-config-sample.php" that will contain the parameters on how to connect to database. For now, just make a copy of this file and rename it to "wp-config.php". The copy could be useful if something will go wrong.
STEP 3) Before to continue, you need to know some details about your database. In particular you need:
- ip address or DNS of the database server;
- database name;
- database username and password.
You can find the ip address in the automatic email sent to you when you bought the hosting or within the hosting configuration panel. In addition, you need to create a new database. Unfortunately this procedure strongly depends on the hosting service that you bought so for this step I cannot write anything but you need to read the documentation provided by the hosting operator.
STEP 4) Open the "wp-config.php" with a text editor, such as notepad or notepad++ (not word or wordpad). Inside the file you will find four define like these:
18 19 20 21 22 23 24 25 26 27 28
/** The name of the database for WordPress */ define('DB_NAME', 'write here the db name'); /** MySQL database username */ define('DB_USER', 'write here the db user'); /** MySQL database password */ define('DB_PASSWORD', 'write here the password'); /** MySQL hostname */ define('DB_HOST', 'write here the host');
For each of this define you need to replace the value within the '' in according to your configuration.
STEP 5) Now, you need to copy the wordpress files from your computer to the remote server. In order to do this you will rely on the FTP protocol that is the protocol to transfer files. So, you need a software to do this. To write this tutorial I used FileZilla 3.10.2, but as usual you will find a recent version. Open the FTP program and try to connect to your server. In order to fill out the server host, username and password within FileZilla as shown in the following picture and then click on the Quickconnect button. Again, you will find these data within the e-mail sent by your hosting provider. Usually the standard FTP port is the number 21.
STEP 6) After the connection, if everything has gone right you will read some messages from the ftp server and the important thing is that you read something like "Connected".
STEP 7) FileZilla GUI has two parts: on the left there are the files and folders on your computer, on the right part the files and folders stored on the remote server. What you need to do is to copy the wordpress content from your computer to the remote server. So, navigate your local computer and find the wp directory that you have extracted in the previous steps. Copy all the wp directory to the remote server just dragging all files from the left to the right window. At the end all files must be successfully copied on the remote server, just check the number showed in the tabs as the following picture:
STEP 8) Now open your browser and type your web site url that should be something like http://www.mywebsite.com/wp-admin/install.php (obviously the extension .com could be different like .net or .org)
STEP 9) if every previous step is correct you will see a wordpress welcome page that will ask the Site title etc. Type also the username and a strong password with numbers, letters and special characters.
STEP 10) click on Install WordPress and wait the success message that should be like the following picture
STEP 11) Now, you are ready, just type your web site url to see a basic wordpress installation.
STEP 12) Log-in in wordpress and customise your template! Bye!