Tuesday, October 1, 2019

How to install WordPress step by step in 5 minutes

In this tutorial I will teach you how to install WordPress in a way that will serve you for any situation : a hosting server, a corporate server or a local installation on a PC or Mac.
install wordpress
Within these installation variants, I will focus especially on installing WordPress in a hosting .
In addition, we will install with the cPanel tool Virtually all good hostings use cPanel and that logically also includes the most popular hostings such as Webempresa , Raiola Networks or SiteGround .
If you need a hosting for your website or your blog, act!
The installation in a hosting is the scenario is the most frequent scenario of the readers who come to this blog and surely, in general. In addition, as you will see later, the installation of WordPress in the other scenarios works basically the same as doing it in a hosting.
Before you start with the installation itself, it is important to be clear about what options to create a WordPress site exist, what their differences are and which one is best for your case .
If you are clear about these differences, skip this section and go directly to the next one (How to install WordPress in a hosting) where I already start with the concrete steps of the installation, but many people express doubts in this. So here is a small previous orientation.

Install WordPress - Options and their differences

The process of installing WordPress on a hosting server is quite simple.
The steps to install WordPress are basically these:
  1. Check that your domain is operational.
  2. Download the WordPress application from WordPress.org.
  3. Access cPanel of your hosting account or your own server (on your PC or your company).
  4. Upload the WordPress files to the server.
  5. Create and configure the database for WordPress.
  6. Start the automatic WordPress installer.
However, there are different scenarios for the creation of a WordPress site that should be clear before starting and that clarify this initial scheme somewhat.

In WordPress.com there is no installation

Let's start with the simplest scenario, creating a blog with WordPress.com .
Although this is obvious, there are few users who are confused with this and what they ask us, for example, what hosting to hire for a WordPress.com blog
They are not clear that, although the product used is the same, a blog on wordpress.com is something completely different from a blog with wordpress.org and own hosting.
In wordpress.com everything is already installed, it is a cloud service , the installation has already been done in wordpress.com, you simply register a user account (similar to how it is done in Gmail, for example).
This simplifies your life initially, but the counterpart is that a WordPress blog created like this, both in its free and paid options, is quite limited in its possibilities.
wordpress com plans
WordPress plans. There is a very limited first free plan and the rest are payment options.
Instead, with wordpress.org (which is the version we use here in this post), as you will see later, you have to download the WordPress application and install it yourself on a server.
It is a little more than working initially, but the reward for this little extra effort regarding wordpress.com is that you really access the full potential of WordPress , which is huge, and you will have 100% control over your website.
If you want to know more about these differences, here I explain them in more depth:
header differences blogger wordpressWordPress or Blogger (Blogspot): Which one is best for you?
When creating a blog or a website in general, WordPress and Blogger are still the two most popular options. Which one suits you best?

Hosting server or local server Which is better?

Before I commented that you can install WordPress on a hosting server, a corporate server or a local one.
The difference in hosting with these last two cases is that it already saves you a lot of work : in a hosting, the software environment you need for a website is already installed and ready to use (the web server, the database, etc. ).
In addition, a good hosting provider will provide you with additional services such as corporate email , security measures (anti-hacking measures, backup copies, etc.) and your server's Internet connection .
MULTIPLY THE NUMBER OF CLICKS ON YOUR CONTENT
With this free eBook of copywriting templates you will create titles that will trigger clicks on your content:
  • 77 Proven title templates that will multiply clicks.
  • You will get endless ideas to create your own titles.
  • With the words "magic" you will write irresistible texts.
  • Voucher for everything: blogs, online stores, social networks, etc.
In the case of installing WordPress (or mounting any other type of web) on your own server, you have to install this whole base yourself. It is not trivial and there are many hours of work, plus the work of the future maintenance of this basic software and security configuration.
Thanks to software packages such as Xampp, this task has been greatly simplified, but even so, numbers don't usually come out; that is to say, in front of a web mounted on a corporate server the hosting usually goes out much more economically and, not to mention has, much less laborious.
Another different thing would be to mount a small installation of WordPress with Xampp on a PC or Mac to mess up or make small developments and be able to test them without risk before moving them to your real site with hosting. In that case, a local installation with Xampp can be very interesting. Then we will see more about this.

Installation with assistants versus manually

One last important decision point among the options you can choose from is the type of tool to use when installing on a hosting server.
Here you have two options :
  1. Perform the installation with the assistant of your hosting, different and specific to the hosting used.
  2. Perform the installation “manually”, that is, in the original WordPress way, “the famous 5-minute installation” , as they call it and that is always the same, install WordPress where you install it.
Virtually all hostings have installation wizards for a wide range of applications, including WordPress. The idea is to simplify the process for the user by hiding some details and making some decisions for him and that is what they recommend to his clients.
You can use it if you prefer, but I strongly recommend that you use the installation without an assistant . I do it for the following reasons:
  1. In time it will take, at most, 1-2 minutes longer than with an assistant.
  2. You really see what it is to install WordPress: the installation of the files, the creation of a database for the contents, the creation of a user for that database. They are a few very simple concepts that you should know. They will facilitate you the day after day with WordPress.
  3. You have 100% control of all the details. Attendees sometimes make poor decisions such as presupposing a certain email for the administrator, which then does not exist.
There are more reasons to use option 2, but I do not want to entertain too much and the exposed ones already seem to me of sufficient weight not to go by the way of the assistants.
The installation that I will follow in this tutorial is the original WordPress, both for the reasons mentioned and for you to follow the tutorial you have the hosting you have. Even if it were a hosting without cPanel (which I do not recommend), you can do the same with the equivalent tools of your hosting.

How to install WordPress on a hosting

But let's stop preludes and get to work ๐Ÿ™‚
Remember that we are talking about installing WordPress.org, therefore, you need a hosting. If you already have it, great, if not, you need to hire it first .
In the video that follows you will see how to get a 25% discount. Webempresa plans plus an orientation to find the best plan for you and other issues of interest.
It starts in the minute 1:40, on our affiliate page with the coupon and the plans and prices with the discount. Click on the following link to open it in a new tab: Webempresa .
Having a contracted hosting, you are ready to start the installation.
To do this, as you prefer, you can follow the installation process in the following video or, below step by step in the text with image captures for each step.

1. Review your domain

In order for your WordPress site to be visible in public, you logically need an Internet domain under which to publish that website.
When you hire a hosting, there is always a primary domain associated with that hosting. That domain may have hired you along with your hosting or with a different provider.
If you have it contracted in the same hosting, you don't have to worry about anything, but if you have it with a different provider, you need to configure the domain to point to the hosting you want to use it with (if you don't know how it is done , the support of your domain provider should tell you).
Make sure you have the domain ready and working. If you're not sure, don't worry; A few steps later we will check.

2. Download WordPress from WordPress.org

The next step is to download the application of es.wordpress.org , the WordPress.org portal in Spanish, to your computer As you can see in the screenshot below, it is a compressed .zip file
The application consists of a simple package of files with PHP code that we will then place in the appropriate folder of our hosting server.
cover of es.wordpress.org
The front page of the es.wordpress.org website

3. Access cPanel

What we have to do now is upload the compressed file to our hosting server.
Access to your hosting server is done through cPanel. In order for you to access your cPanel, your provider must have sent you an email with the access data, that is:
  • The cPanel access URL
  • Your administrator user
  • And your password
If you do not have this information, contact the support of your hosting to be provided again.
An important tip is to save the access URL to your cPanel as a bookmark in your browser; This way you will always have it at hand.
Also save the username and password very carefully . If these data fall into the hands of another person, they will have full access to your website and your emails (if you use the email of your hosting). One of the main causes of hacked websites is laxity with security measures as simple as this one.
cpanel login screen
The cPanel access screen.
Once you have entered your username and password, a screen similar to one of the following two should appear:
the new cpanel main console
Appearance of the cPanel main screen with the "Paper Lantern" template.
Since cPanel supports theme (design templates), the appearance of the interface can vary significantly, as you can see if you compare the screenshot above this paragraph to the next one, which comes a little lower.
the old cpanel main console
This cPanel design template is also used very frequently.
However, both screens contain exactly the same functional elements. The differences are all design.
For example: the search engine to locate the different cPanel modules such as the file manager, databases, etc., above is the field that says “Quickly find the functions by typing here” and in the capture and below the widget in the bar left side "cPanel Search" .
In the tutorial we will use the template that you can see in the first capture, since it seems clearer and also more aesthetic.
Look at the icon at the top left, File Manager . This is where we are going to go now to upload the WordPress application files to the server.

4. Upload WordPress files to the server

If you click on the file manager icon on the screens above, you will go to the following screen:
cpanel file manager
The cPanel file manager.
This is the vision of the file system of your hosting server , similar to what you see, for example, with the Windows File Explorer on your computer's hard drive.
As it is a shared hosting, what we are seeing, in reality, is not the entire disk of the server, but the “piece” that we have been assigned for our account. If you look closely, you can see in the left panel (above), which is what hangs under the " home / c2cero " directory.
Of all the folders that are seen here, we are really only interested in one: public_html . Look closely at her. It is possible that in some hosting, this is also called "www" , but normal is public_html. You can even find the two folders where one is a shortcut (one alias) to the other.
CAN'T YOU GET VISITS ON YOUR WEBSITE?
With this free eBook you will get to the top of the Google results:
  • In 1 hour you will learn the SEO you really need.
  • You will learn how to know what people are looking for on the Internet.
  • You will know which searches interest you and which ones do not.
  • You will get high in the search results.
  • You will multiply the visits to your website.
This public_html folder is very important because it is the one associated with your primary domain .
That is, the files that are here and in successive subfolders are the ones that will be seen under your domain.
If you download, for example, the file "test-domain.html" below and place it immediately below public_html, you can access it under the following web address (replacing "yourdomainname.com" with your domain):
http://yourprincipal.com/test-domain.html
Download this file, place it in public_html and access the URL above is a simple way to verify that your domain is operational. If everything is OK, I should show you this message:
domain test capture
Domain verification message.
If we had created a folder "tests" within public_html and within tests the above file, the access URL would have been:
http://yourdomainname.com/pruebas/test-domain.html
Simple, right?
This is the default operation and the most widely used. You can also sophisticate, if you want, creating a folder in public_html for each domain , which would allow us to host several websites with different domains . But these are already topics that require a special configuration a little more advanced and that are completely beyond the scope of this tutorial. Therefore, we ignore it, but it is good that you know that the possibility exists.
Understanding the basic philosophy of your server's file system, let's upload the WordPress application. To do this, click on the “Upload” menu that you can see above in the capture and then on the “Select file” button that is seen in the following capture to take the WordPress file from your computer.
Wordpress.zip file load
cPanel allows you to upload files from your local computer to your hosting server. No complications are necessary, such as the installation of FTP clients, etc. They are seen in many tutorials.
When you have selected it, you will see how a blue progress bar appears that indicates the status of the upload, as you can see in the image above this paragraph.
Once the upload is complete, click on the “Back to… / public_html” button below.
This will take you back to the contents of public_html where you will see the .zip you just uploaded:
wordpress.zip already uploaded to the administrator cpanel files
The contents of public_html after uploading the WordPress .zip.
Since the compressed file as it is not worth us, we must decompress it to install the WordPress files.
Luckily, cPanel can also do this: select the .zip and click on the “Extract” option, as you can see in the screenshot above.
You can see the result in the following screenshot:
decompressed wordpress.zip in cpanel files manager
Unzipped files are placed by default in the «wordpress» folder.
Note that when unzipping, the “wordpress” folder has been created since the .zip also contained it. It contains all the other files. However, that is not the right place to install WordPress. The right place is directly in public_html, that is, we have to move the files from "wordpress" to "public_html".
Since we are going to move the contents of “wordpress” to this location, it is not convenient to have other files here, since we would be mixing websites. In normal mode, with a single domain, without folders differentiated by domain, public_html will be exclusively for the WordPress website.
In particular, it is important that there is no file type “index.html” or “index.php” in public_html. That would give us problems.
Therefore, if you already had things you want to keep, you should move them from here. In the example I created the “tmp” folder precisely because of this; so we put all the "old" things here and we have them located.
After this, "public_html" looks like this:
Cpanel wordpress file manager cleaned
The content of public_html after relocating the old files.
Now the only thing missing is to move the files that are inside "wordpress" to public_html.
This is also very easy in cPanel: we enter “wordpress” and with the “Select all” menu we select the complete list of files, as seen in the image below.
Then we can move all these files by dragging them, keeping the left mouse button pressed, to the public_html folder seen in the left sidebar.
administrator cpanel files wordpress files selected
Now you have to move the WordPress files within public_html.
Once the files have been moved, we will see this within public_html:
administrator cpanel files moved wordpress files
We already have the WordPress files where they have to be.
With this we already have the WordPress code files where they have to be and we already have the “wordpress” folder, since moving the files has become empty. Therefore, we can erase it (make sure it is really empty before doing so).
The "tmp" folder will keep it, but beware : what is in tmp will be visible on the Internet at the URL of:
http://yourdomainprincipal.com/tmp/…
Therefore, ask yourself if, for security, you really want it to be that way or if it will not be better to take the contents of tmp to another site, to your personal computer, for example.

5. Create and configure the database

We are done with the part of the files and now touch the part of the database.
The main reason for needing to create a database is that WordPress stores the contents in a database, does not store them as HTML files, which makes WordPress much more powerful.
To do this, we return to the main cPanel screen by clicking on the CP icon at the top left on the cPanel screen. You can also enter the initial cPanel URL again if you get involved:
mysql search in cpanel
Using the cPanel search engine to locate the MySQL module.
Now, we look in cPanel for the MySQL module. To do this, simply type MySQL in the search field, as shown in the image above. Among the icons that appear, select the "MySQL databases" icon .
This starts the cPanel database management module:
cpanel create mysql database
The cPanel database manager.
And here I also want to make a very important comment : have an application like the Windows Notepad or similar on hand, to sign up three data that you will need again later in the installation:
  1. The name of the database.
  2. The user for the database.
  3. And that user's password.
As we create this data, write them down because if you later forget them, you will not be able to continue with the installation.
In my case, as you can see in the image above, the name I will use for the database is c2cero_installdemo .
We click on the "Create database" button and, if all went well, the confirmation screen of the database creation should appear:
cpanel mysql database created
The confirmation screen of the creation of the database.
Now we are going to create a new user for the database. To do this, click on the "Back" link , you will return to the previous screen and you will have to scroll down until you reach the section that can be seen in the following screenshot.
As you can see in that same capture, the user that I am going to create is called c2cero_demo .
And on the same screen also enter the password you want. But for security, use a password that is not trivial to guess and provide in that sense a minimum of security.
cpanel create mysql user
Creation of the database user and his password.
After doing these actions, as before, a confirmation screen appears that everything went well:
cpanel mysql user created
Confirmation of the correct creation of the database user.
To finish this part, only one step is missing: give the user access permissions on the database we just created.
This section is on the same screen as before, even a little lower.
To perform this action, we select the database and the user, and link them with the "Add" button:
cpanel add user to database
Linking the user to the database.
By doing this, cPanel will ask us what permissions (privileges) we want to grant the user in question on the database.
As the permissions that WordPress needs to work are quite wide, here we are not going to eat a lot of head and we will simply grant all the permissions that are clicking on the “All privileges” mark, which will select all other permissions
cpanel permissions user database
Assignment of permissions to the user.
Also here a confirmation screen will appear:
cpanel confirm user permissions database
Confirmation of the assignment of permits.
And with this we have also finished the configuration part of the database ๐Ÿ™‚

6. Start the automatic installation of WordPress

In principle, we no longer need to work in cPanel. Now we work from the web, that is, we access our domain, the main domain associated with the blog.
If you have not made any mistakes in the previous steps, you should leave this screen:
install wordpress start
Initial screen of the WordPress installer.
Here we are going to simply click on the “Let's go to it!” Button, which leads us to a first form in which we will have to recover the data we previously noted to fill it with them.
With this data we are “connecting” the WordPress application to our database:
install wordpress form
Form to connect WordPress to the database.
We click on the "Send" button and this screen appears telling us that now everything is ready to install the application. Click on "Run the installation" :
confirmation form install wordpress
Start of automatic installation.
Also in the part of the automated installation of WordPress a series of data is requested.
In this case, it is the data for the blog itself, not for the database.
Specifically:
  • The administrator user of your WordPress site (not to be confused with the previous database user, they are different things). This is the "boss" user of your website and you can do everything on it.
  • The password for that user. Here security is especially important, since with the user and password you can access your blog from the Internet. Therefore, use a very good password; otherwise, you will be exposed to hackers. For that reason, WordPress offers you one by default. You can use your own, but WordPress will warn you if you consider it too weak and ask you to confirm that you really want to use a “weak” password, an unsecured password.
  • The administrator's email . WordPress will communicate on different occasions with you by sending you emails, therefore, you need an email address to send these emails to.
install wordpress blog form
Information settings for WordPress.
And once you click the end of this screen, WordPress will start the automatic installation, which will take a few seconds.
When the installation process is finished, you will see the following screen from which you will be able to access the WordPress desktop that will be your workplace with WordPress for the creation of the contents and administration of WordPress:
install wordpress order
End of installation message.
When you click on the "Access" button, WordPress will display the desktop access screen. I recommend you take the opportunity to add it to your web browser bookmarks, because you will use it constantly:
login wordpress
WordPress desktop access screen.
In any case, you can also always use this access URL:
http://yourprincipal.com/wp-admin
Here you have to enter the WordPress administrator user and the password you just created. Eye, the user and password of WordPress, not the user and password of the database:
wordpress desktop
The WordPress desktop
And the web that the other users will see under your domain will be this (it may change if you do not use exactly the same version of WordPress as the one in this tutorial):
wordpress cover
Default public cover of our new WordPress site.
And with this we have definitely finished installing WordPress ๐Ÿ™‚
You can now create and publish content on your website, although to do things really well, we still have some configurations that I will discuss below.
Let's also talk about some other scenarios that occur in the installation of a WordPress site. I will not go into the details because everyone deserves their own tutorial, but I do want to tell you, at least, the general lines of each one.

How to install WordPress on a local server

If you want to install on a local server, either on your personal computer as an installation for testing and developing things or as a real installation on a corporate server, the steps are actually the same.
The difference is that on a local server you have to take care of the part that has already prepared the hosting service for you: the base software that is the software for the web server, the installation of a MySQL database and the installation of a PHP environment.
I will not go deep into how to prepare a server with this basic software because it is completely out of the scope of this post, but I do leave a post that describes one of the best options, which is a free software package. the Apache Foundation that with a single installation prepares everything for you: Xampp .
In addition, there are versions of Xampp for Windows, Linux and Mac OS.
With this, installing WordPress is basically reduced to first installing Xampp and then installing WordPress in a way very similar to how we have done it here. It is not exactly the same because cPanel is not used in Xampp, but it works in a very similar way.
In this post you can see it in detail:

Migrate a WordPress site from another hosting

If what you really want to do is migrate a WordPress site that is already working on another site, the path is really not to install WordPress, as seen in the previous steps.
That case is simpler, basically consists of making a backup of the site in the old hosting and restoring it in the new hosting, along with some adjustments such as the configuration of the new domain (in case it has changed, if not that).
You can do this in two ways:
  1. A "manual" migration : basically consists of creating a copy of the WordPress files in the old hosting and also exporting the database. In the new hosting the files are restored, the database is restored and configuration details are adjusted in wp-config.php (for example, the domain, if it changes, and the new names of the database, user, password, etc.)
  2. An automatic migration : this is done with specialized tools (plugins) such as Duplicator or XCloner . I leave you as an example the following post:
duplicator pluguin wordpressHow to move a WordPress web hosting blog with Duplicator
Today, in the second post of our mini-series on how to move a WordPress hosting blog I tell you how to move it with the free Duplicator plugin.

Import a WordPress.com or Blogger blog

This case is quite frequent, since many people who have started with WordPress.com , Blogger , Squarespace , Webnode and the like come to the ceiling of the possibilities of these tools and realize that, in order to continue evolving in their project, they need to migrate your website to WordPress.org with your own hosting.
These migrations are not trivial but, fortunately, we have already published two specific posts for the most frequent cases (migrate Blogger and WordPress.com):
how to migrate blogger wordpressHow to migrate Blogger to WordPress - The Complete Guide
Migrating blogger to WordPress can be a nightmare if you do not know how to do, so here I tell you how to do it without headaches.
header migrate wordpressThe practical guide to migrate WordPress without headache
Migrating WordPress doesn't have to be complicated if you know how to do it. In this guide I explain everything you need to know to migrate your blog successfully.

How to configure WordPress once installed

Now that you have WordPress installed, allow me one piece of advice: focus on creating the first content and spreading it , let that be your priority # 1 .
I am talking about the first 4-5 contents, as they will be the cover letter of your blog . That is what matters now and not that the site has a great design or other similar things, which are now frills.
That said, there are important things to configure in your blog, things that you adjust in a moment and will not distract you from the creation of the contents.
I mean things like setting the time zone (important that scheduled posts are published at the correct time), if you want to expose the entries in summary or complete mode in the feed, the order of comments (from new to more old or the other way around), ...
There are other issues that are not set up so quickly, such as installing a good design template (here I recommend Divi ) or installing and configuring basic plugins on any WordPress site. But these are things you don't need to do immediately; you can take care of them as you go forward with your first content.
To have a complete map of all these tasks missing to have a 100% well-mounted site, I recommend this post:
newly created wordpress blog header10 Required tasks in a newly created WordPress blog
WordPress an ideal platform for almost any website. But for it to be well mounted, you have to "top off" the initial installation well.

Conclusions

Creating a blog or a WordPress website with your own hosting is not as trivial as it can be to open an account in cloud services such as Blogger, WordPress.com, Wix and the like. But, as I think you have seen in this post, it is not a titanic task, it is something that with a good guide you can do in a matter of minutes .
In exchange for this small investment in effort and time, you will have access to a potential light years of cloud solutions without mentioning that, in addition, you will have 100% control over your website and you will not be captive of the cloud service in question , in which you have created your website.
And finally remember that in a WordPress site with hosting, logically, the choice of hosting is critical , it will be the basis on which everything else will work.
A good hosting today is not expensive, but you have to choose your provider well.
The best providers that I can recommend for my good experiences, and in this order, are Webempresa , SiteGround and Raiola Networks .
If you're looking to hurry prices to the fullest (I don't recommend it), the most decent I've tried are 1and1 Ionos and Hostgator . They have acceptable quality and very aggressive discounts.

No comments:

Post a Comment

Designed by Jide Ogunsanya.