How can I automate WordPress installations

Install WordPress in 2021: The foolproof guide (including troubleshooting!)

Do you want to install WordPress? And finally start your own website or blog?

Then you are right here.

I will explain to you in 6 easy steps how to install WordPress on your own web hosting package.

Described with many screenshots and down to the smallest detail for beginners. From ordering web hosting to creating a database and setting it up in the browser.

At the end you will also find a troubleshooting section with common problems and solutions for them.

In short:

These instructions are guaranteed to be foolproof!

requirements

Requirement # 1: web hosting and domain

In order to install WordPress, you need to have a hosting package / server with a domain.

If you are a beginner, I recommend ordering this from webgo.

The web hosting tariffs offered there are well equipped and are characterized by excellent loading times, as my web hosting comparison has shown.

As a new customer you get the first 6 months of hosting for free with many tariffs, so you only pay half of your first annual bill.

To start with, I recommend the CMS Pro package, which already includes an SSL certificate:

The following installation steps are also described using the example of a hosting package at webgo.

However, they can (for the most part) also be transferred to other hosting providers, such as B. Strato, IONOS, dogado, all-inkl.com, HostEurope, DomainFactory or Alfahosting.

Requirement # 2: Your domain points to your server

It can take up to 24 hours for changes to a domain's DNS settings (the settings that tell a browser where to find a domain's contents) to take effect worldwide.

This means that if you have just ordered your domain, it is often not yet accessible via the browser and the error message “Website cannot be reached” is displayed.

This is completely normal and not a reason to panic.

As long as that is the case, however, you cannot set up WordPress yet.

Just wait a bit and try again after a few hours or the next morning.

1. Set up the SSL certificate

In 2018 an SSL certificate is essential for your blog. This encrypts the connection between your blog and your readers.

This can be recognized by the preceding https: // in front of the URL and the green lock in the browser:

To set up an SSL certificate, first log into the webgo customer portal with the access data you specified.

Then go to the webgo webspace admin:

Once there you go toPackage Management> SSL and click on the green linkCreate SSL * top right:

First, check in the settings whether you have selected the correct domain under Domain (without www!) If you have ordered several domains. And secondly, whether the three ticks under the domain are all set. All other fields do not need to be filled in or changed:

Then click on at the bottom invest. Now it takes a few seconds until the certificate is created ...

2. Create a database

If your SSL certificate is installed, you have to create a database in the webgo webspace admin.

You put that under Databases> MySQL Databases by clicking on the green link Create MySQL database *.

Then you have to set a password. It is best to enter your domain in the comment so that you know that the database belongs to this domain:

Copy the database password, the database name and the user into a text document, as you will need this data again in the fourth step.

3. Download and unzip WordPress

To install WordPress on your server, you have to download it from the official website (.zip, about 9 MB in size):

The language files are already in German. If you want to run your blog in English, download the files here.

Once you have downloaded the ZIP file, unzip it with a program of your choice.

4. Edit wp-config.php

The file is the WordPress configuration file that connects the database created in step 2 to WordPress.

To edit it, open the unzipped folder and look for the file in it.

You rename this to and then open it in a plain text editor or an HTML editor.

For Windows I recommend the free editor Notepad ++ or Brackets.

I also recommend brackets for MacOS.

If you don't want to download anything, you can also use TextEdit on the Mac. This is included with the operating system by default. However, please remember to include TextEdit in the Plain text mode to switch. To do this, click on in the menu at the top Format> Convert to Plain Text.

Never edit the file in Microsoft Word, Apple Pages, Google Docs, Open Office, LibreOffice, or other advanced word processing programs. The added formatting can make the file illegible for the server.

Then you change the following data:

define ('DB_NAME', 'insert_database_name_here');

Here comes instead of insert_database_name_here the name of your database in

define ('DB_USER', 'insert_username_here');

Here comes instead insert_username_here the username of the database.

define ('DB_PASSWORD', 'insert_password_here');

Here comes instead insert_password_here the password of your database.

Then you have to enter a security key. This is important, because otherwise it would be possible for third parties to hijack your active login session and do jokes with your WordPress installation.

To do this, simply call up this link, copy the generated security key completely and replace the following placeholders:

define ('AUTH_KEY', 'Insert your character string here'); define ('SECURE_AUTH_KEY', 'Insert your character string here'); define ('LOGGED_IN_KEY', 'Insert your character string here'); define ('NONCE_KEY', 'Insert your character string here'); define ('AUTH_SALT', 'Insert your character string here'); define ('SECURE_AUTH_SALT', 'Insert your string here'); define ('LOGGED_IN_SALT', 'Insert your character string here'); define ('NONCE_SALT', 'Insert your string here');

To better protect your blog, you should also change the WordPress database table prefix:

$ table_prefix = 'wp_';

To do this, simply replace “wp” with an arbitrary sequence of numbers and letters (no special characters!), Such as B. RtZ7uOp.

The underscore must be retained (i.e. not, but)

5. Upload files to your FTP server

Now the WordPress files still have to be uploaded to your server.

For this you need the access data to your FTP server. You can find them in the contract overview in the webgo customer portal:

You need thatServer / host,the user(in the pink box) and that FTP password. You have to determine the latter yourself by clicking on Change FTP password clicks:

Once you have found the data, install the free program FileZilla. You can download it from the official website (available for Mac, Windows and Linux):

Make sure not to use the FileZilla server to download. You need the FileZilla Client.

If your antivirus program or Windows Defender complains when installing FileZilla, try downloading it from Chip.de.

After the installation you open the in FileZillaServer manager (first icon in the top menu bar or alternatively underFile> Server Manager) and click on Add a new server:

With server you have to Server / host enter (in our example s91.goserver.host)

For connection type you choose Normal.

Then enter your username in the fields that appear (in our example web93) and your self-determined FTP password:

To establish a connection to the FTP server, click on the blue button Connect.

FileZilla may now ask you to confirm the trustworthiness of the certificate. You can simply confirm that and tick the box Always trust the certificate.

In the right window, FileZilla has now opened the main directory of your server:

In the main directory, double-click on the directory that is assigned to your domain.

By default, this directory is named like your domain. So in our example blogmojo.de.

There is only one file in this directory called index.html. You have to delete these before you can install WordPress:

If the file is deleted, you now have to copy all files from the downloaded WordPress archive into the directory.

To do this, simply drag them from Windows Explorer or Finder on a Mac or via the internal file manager in FileZilla (on the left) into the folder.