Installing WordPress on a localhost server helps in the development stage. It is because it eliminates the need to hire Hosting during the development of the website, allowing you to install the WP directly on your computer. In this post, you will know how to install WordPress after an update. So, let’s get started.
Getting know: How to install WordPress in 2020
We have seen several methods of how to install WordPress on your local computer, and if you have already practised enough, it is time that you dare to create your website and install WordPress on a web host. The process differs very little from the local installation, and you will see that there are only a couple of differences to the methods explained above. So here are the steps by step procedure for installing WordPress.
INSTALL MAMP / XAMPP
WordPress requires a server that supports PHP, MySQL and Apache/ Nginx to function. These resources are provided by hosting companies, which charge a monthly fee for this. In other words, to install WordPress locally, you will need these same features, only on your computer.
There are several software on the market. In the market, there are simulate hosting on your computer. The most famous are MAMP, XAMPP and WAMP. In short, the three do the same thing: they create a local server that supports all the requirements for WordPress to work.
For the localhost installation of WordPress, we recommend MAMP (for Mac users) or XAMP (for Windows users).
On the PC: if using Windows, install XAMPP or MAMP for Windows.
On Mac: If using Mac, install MAMP for Mac.
Create a domain
Suppose you have experience on creating a website then you merely your domain. If you start with a new website, you have to reserve a new domain under which your website should be accessible in the future. You then have to link this domain to a directory on your webspace. It tells the web server in which directory the website to loaded when the domain called located. With some hosters, this step carried out when a new domain is reserved. For some packages, the linked directory is also present and cannot be changed.
Order an SSL certificate
Today a website should no longer be operated without encryption. An SSL certificate required for this. Let’s Encrypt certificates are free and fully automated and set up and active within about a minute.
Of course, the certificate also ordered later, and the website can be converted to HTTPS afterwards. Still, if you set up a new website, it is advisable to do it right away and install WordPress with HTTPS – this saves the conversion later.
In the main folder of the Hosting
Most WordPress installations in a Hosting are carried out in the main folder, which in cPanel hosting is in the public_html folder , since this is the folder that houses the contents that are displayed by the main domain of the Hosting account.
Redirect HTTP requests automatically to HTTPS
When you can activate SSL certificate; it is advisable to redirect all HTTP requests to HTTP on the webserver. Then unencrypted requests redirected from the webserver to an encrypted connection. If the website address in WordPress correctly defined with HTTPS, WordPress itself redirects incoming HTTP requests to HTTPS, but WordPress must be loaded every time. After redirecting to HTTP, WordPress reloaded. The redirection directly on the webserver is therefore much more efficient.
Besides, files that in the delivered directly without WordPress to loaded. If, for example, an image called up via HTTP, there is no forwarding. This would require a plugin, which in turn creates unnecessary load on the server. Redirecting to the webserver, therefore makes more sense in any case. Then install WordPress.
The steps to install WordPress are these:
- Check that your domain is operational.
- Download the WordPress application from WordPress.org.
- Access cPanel of your hosting account or your server (on your PC or your company).
- Upload the WordPress files to the server.
- Create and configure the database for WordPress.
- Launch the automatic WordPress installer.
However, different scenarios create a WordPress site that should be clear before starting and qualify this initial scheme somewhat.
Final words on how to install WordPress
Installing WordPress is a problem for someone. That’s why we are trying to solve this problem. So, if you are following this article step by step, you can know how to install WordPress.