After choosing a suitable domain for our blog in the previous article, we will install WordPress in this part of the series of articles. I’ll go through each step and give tips to avoid the most common installation mistakes. By the way, this article is part of the create a blog article series.
Install WordPress in 5 minutes
As already mentioned in the previous blog hosting article, there is a lot to suggest that you should host your blog yourself on your own web space. If you want to install WordPress yourself, however, it is necessary to prepare the web hosting for the WordPress installation. To do this, a database must be created and access for the FTP program must be defined.
Create a database for the WordPress installation
To create a database for the WordPress installation, go to the administration view of your web hosting package and select the Database menu item. At webgo.de you can find this under: Administration > Webhosting > Databases.
There you can see the existing databases. You can also create or change new databases. Some hosting providers automatically assign a username and password for the new database, while others allow you to choose this yourself.
Since no database should exist yet, you can now create a new database. To do this, select a database name, a user and a password and then click on save. Now write down the access data for your new database or leave the browser window open, as you will need the data right away.
Create an FTP access for the WordPress installation
In order for you to be able to install WordPress, the WordPress files must be uploaded to the server. You need FTP access and an FTP program for this. I use FileZilla for this. The program is free and I have always had very good experiences with it.
Since, of course, not every unauthorized person should upload any files to your web space, you have to set a user name and password for FTP access. To do this, go back to the administration view of your web hosting package and select the FTP access menu item. At webgo.de you can find this under: Administration > Webhosting > General > FTP access.
Once you have assigned and saved a username and password, you can set up the FTP program so that it has access to your server and you can upload the WordPress files. You can find instructions on how to configure FileZilla here.
Once the database has been created and the FTP program set up, we can start installing WordPress.
To install WordPress, the first step takes you to the WordPress website. The current version of WordPress can always be found there. To download WordPress, simply click on the big blue “Download WordPress xxx” button and save the .zip file.
After the file has been downloaded, you must unzip it. Windows comes with a zip unpacker by default. So just right click on the WordPress.zip folder and click extract.
In the unzipped WordPress folder you will find a .php file called “wp-config-sample.php”. This must now be renamed to “wp-config.php”. So simply remove the “-sample” from the file name. Then you open the file with the Windows text editor and change the following data:
- define(‘DB_NAME’, ‘database_name_here’);
Enter the name of your database instead of “database_name_here”.
- define(‘DB_USER’, ‘username_here’);
Instead of “username_here”, the user name of the database comes in here.
- define(‘DB_PASSWORD’, ‘password_here’);
Enter the password of your database instead of “password_here”.
- define(‘DB_HOST’, ‘localhost’);
“localhost” usually comes in the fourth line. With some providers such as Host Europe, however, a different database host URL must be entered here. For example wpXXX.webpack.hosteurope.de.
Before we upload the files to the server and install WordPress, we still need to generate a security key. To do this, simply call up the link https://api.wordpress.org/secret-key/1.1/salt/, copy the data and replace the placeholder data in the wp-config.php file.
If all the data in the wp-config.php file has been entered correctly (it is important that you enter all the data exactly as it was created when the database was created. So also pay attention to upper and lower case.), then save the file and we can install WordPress.
Important: At this point, consider beforehand whether you want to install the blog directly in the directory of your domain (the blog can then be accessed at www.euredomain.de) or whether the blog should run in a subdirectory (e.g. www.euredomain.de/blog/ ). With the latter, the subdirectory must first be created before uploading the WordPress files. Now the files can be uploaded.
To do this, start the FTP program and enter your FTP user name and FTP password there. Now you can upload the entire content of the WordPress folder to your web space.
If all files from the WordPress folder have been successfully uploaded, we can install WordPress. To do this, call up the installation file “install.php” with your Internet browser. This is located in the “wp-admin” folder.
If WordPress was uploaded directly to the main directory, the path you enter in your Internet browser is “www.euredomain.de/wp-admin/install.php”. If WordPress was uploaded to a subdirectory, then the path is, for example, “www.euredomain.de/blog/wp-admin/install.php”.
You should now see the greeting. Enter your blog title, i.e. the name of your blog, enter your e-mail address and assign a password. In addition, tick “I would like my blog to appear in search engines such as Google.” Otherwise your blog will not be recorded in Google and will therefore not be found.
Then all you have to do is click on the “Install WordPress” button. Ready.
My previous experiences
Fortunately, I haven’t had any major problems installing WordPress so far. If you follow the individual steps, installing WordPress is really super easy and can be done in just a few minutes.
What is your experience with installing WordPress? Did everything go smoothly or did you have difficulties installing WordPress? Your opinion matters!
This is how it goes
The next part of the series of articles is about the layout of your blog. I present the different layout variants and show what makes a good blog layout. Click here for the next article: How to find the right WordPress theme