Ok, time to get hold of WordPress and configure it. We’ll leave uploading it until next to reduce the length of this post.
So far you’ve got your website address, you’ve rented some server space, set up an FTP client on your computer and created a new database on your server space.
Wow, that’s already quite something! Not so far now from getting your WordPress blog or site up and running.
Rather than explaining all the options in terms of setting up WordPress, I’m going to stick to one method here, and in my opinion it’s the best.
Navigate to www.wordpress.org and click the ‘Download WordPress’ button then the ‘Download WordPress 4.4.1 button (or whatever the latest version is).
Download the zip file to your normal download folder, whatever that might be.
I suggest then move the zip file to a conveniently located and named folder on your computer. I’ve named my folder ‘WordPress.org’ in the Documents library.
Right-click the ‘wordpress-4.4.1.zip’ file and select ‘Extract all…’
Select an empty destination folder on your computer and extract the files.
This creates a large array of files and folders in the destination folder you have chosen, over 1,400 in all, which is the basic WordPress application.
Just one more thing to do at this stage: set up the wp-config.php file. This is done as follows:
Locate the file wp-config-sample.php in the directory to which you have extracted the zip file.
Make a copy and rename the copy to wp-config.php
Leave the original wp-config-sample.php file as is as a backup template.
Open wp-config.php with your text editor.
Let me absolutely emphasise: you are now entering the realm of coding. But it is only modifying a few lines of code to suit your purposes. Nothing complex.
Let me also strongly emphasise though – this has to be done with complete, 100% faultless accuracy. Quite a large proportion of people have trouble with this, which might explain the general shortage of good coders! Anything less than total accuracy and it simply won’t work. Not only that, you will drive yourself bonkers looking for the errors later.
Some of the classic coding errors to be avoided:
- leaving out commas, inverted commas, colons or semicolons or adding them where there shouldn’t be any
- colons where there should be semicolons and vice versa
- dashes where there should be an underscores and vice versa
- double inverted commas where there should be single, and vice versa, and mis-matching of same
- lowercase where there should be uppercase and vice versa
- forgetting to close brackets
- spaces in a word where there should be no spaces
In summary, just plain sloppy coding! So….
Look for this section in the file:
If you are using a text editor such as Notepad++ you will be able to see the relevant line numbers.
Refer back to the previous post here titled ‘Setting Up Database For WordPress’ from which you will have made an accurate note of the key information required in the wp-config.php file.
There are four pieces of information you need to transfer.
1. In Line 23 in the space ‘database_name_here’ put the database name you noted from creating the new database in the last post. Make sure to put the name between the single inverted commas. In all cases the inverted commas must be there, otherwise it won’t work!
2. In Line 26 in the space ‘username_here’ put the user name you set between the inverted commas
3. In Line 29 in the space ‘password_here’ put the password you set between the inverted commas
4. In Line 32 in the space ‘localhost’ put the internal hostname which I explained in the previous post
That’s all that’s needed. The purists might go mad but you can leave the rest of the wp-config.php file as it is unless the secrets you are going to publish would be a challenge to Julian Assange’s and Edward Snowden’s notoriety!
Now you are all set to upload all the WordPress files to your newly-rented server space. We’ll cover that in the next post.