7 Easy Steps to Create a WordPress Website: Step-by-Step Guide for Beginners
If you want to start a WordPress website, you may need some information on how to install it and set up the very first steps for creating a functioning website. We will try to start step by step and go through creating a WordPress website process, so you can do it yourself even without any background knowledge.
You can ask any possible questions you might have and our developer team will guide you through it. This chain of information starts with downloading the latest version of WordPress and ends up with installing your WordPress theme and plugins.
1. How to Download WordPress?
First of all, in order to create a WordPress website, go to the following page and press the blue button to download WordPress. The link is also prepared in .tar and .gz extensions but all you need is the .zip file which is available in the download link as default. You can add or download the link by a download manager or by the explorer downloader from the following page link.
Here is the link: https://wordpress.org/download/ or click here to redirect you to the page.
First, download the latest version of WordPress then log in to your CPanel account directly or with FTP software, from there go to the file manager and you can see the “public_html” folder on the left side of the page. This is your host root file and you should put and install the WordPress files in this folder.
Now we are getting closer and closer to our WordPress website.
At the top of the page use the Upload button to upload the WordPress .zip (compress) file. After that right-click on the zipped folder and extract it to unzip the WordPress folder, then you can delete the main .zip file.
Double-click on the WordPress unzipped folder and select all the files included, then right-click and move them to “public_html” folder. If you see /public_html/wordpress directory on the page, delete WordPress from the end of it to move the files into the root folder (public_html).
So far we have just specified the main thread of WordPress files. Now we should make a database for our WordPress website. In the main page of CPanel and Databases section, select MySQL Database and give it a name, then click on Create Database.
Scroll down and fill the MySQL Users section, then click on Create User, scroll down further and select the Add button from the “Add User database” section.
Enter your website address in your explorer and search for it, after passing one page and filling in the blanks, click on the Send button to enter the 5-minute process of installing WordPress.
Finally, you can log in to your WordPress dashboard with your username and password later. Click here to watch the tutorial video.
3. How to set up WordPress on the domain?
The domain name is absolutely important for a WordPress website. There are a few ways to change the domain name on your WordPress application:
3.1. Using phpMyAdmin: First of all, you should change the “siteurl” and home options in your WordPress database with the phpMyAdmin tool which is available in your cPanel.In phpMyAdmin, select your WordPress database and browse the table wp_options. Find the “siteurl” and home options and change their values to the new domain. Make sure to clear the cache of your browser and verify if your website is functional.
3.2. From the WordPress admin Dashboard: Access your WordPress Dashboard, (for example> http://yourdomain.com/wp-admin) then go to > Settings -> General. Enter the domain that you wish under the WordPress address (URL) and the website address (URL) fields and save the changes.
4. How to install WordPress on localhost?
We usually use two local hosts for WordPress websites, one is Xampp and the other’s Wamp, but Xampp is more general and popular, so first, we download both Xampp and the latest version of WordPress, then in the software page activate the Apache and MySQL start button to activate these for installing WordPress on the localhost.
After these steps, type “localhost/phpmyadmin” in your explorer address bar and tap Enter.
You need a database, so click the New button from the left side menu to make a new database, then you should enter a name for the database and select a supported format for the database and finally click on Create button.
After making your database, go to the default installation directory of Xampp and find ‘.htdocs’ folder.
Place and unzip the WordPress compressed file in this folder, then we should go to the “localhost” address again and then you’ll normally see the WordPress installing process and so on.
5. How to move WordPress from a localhost to a live server?
Now you need to move your WordPress website to a live server. Open phpMyAdmin on your localhost, find your WordPress database, select it and click on check all. In the “Select With” drop-down menu choose Export and be sure to select SQL format, then click on go and save the exported database with a .sql extension.
Comeback to your live CPanel server and from the Databases section, click on phpMyAdmin. On the left side you will see the database list, select your database and click on the Import button, If everything goes well, you will be returned to phpMyAdmin main page.
Open “File Manager” and go to WordPress folder In the localhost, then compress all of the WordPress folders into one zip file. In the CPanel open File Manager and select “Document root for” and make sure you have chosen the domain correctly, then click on Go.
On the next page after selecting “public_html” click on the Upload button, browse for the zipped file and upload it. After you’re done with all the aforementioned, click on the “Back to” link, then your zip file should be shown in the public_html folder, select the zip file and Extract that and finally delete the zip file.
The last step is editing the wp-config file. Select the wp-config.php file in the public_html folder and click on “code editor”. Change the database name to the name of the database that you have already generated as well as DB_USER and DB_PASSWORD.
Pay attention to WP_HOME and WP_SITEURL values, if they are not available to add the following lines to your wp-config.php file:define(‘WP_HOME’,’https://your-live-url.com’); define(‘WP_SITEURL’,’https://your-live-url.com’); Make sure to change “your-live-url” with your domain address. At last, save the wp-config.php file and exit.
6. How to install a theme on WordPress?
There are different ways to install a template on your WordPress website, so we are going to introduce to you one of the best solutions. To start, log in to your host and go to /public_html/wp-content/themes/ directory in your host File Manager, and upload your zipped template into this folder.
After uploading the process, right-click on the template zip file and select the Extract option to install the template into WordPress. Now, delete the zip file and go to Display>Templates in the WordPress dashboard, you can see the installed template then activate the template.
If you want a smooth installation of the theme, you’d better follow the guidelines below:
- PHP version: 5.6 or higher (contact host provider to fix it)
- PHP ZipArchive extension (contact host provider to fix it)
- PHP Maximum Execution Time: 180 How to change it
- PHP Maximum Input Vars: 2000 (contact host provider to change “max_input_vars” in php.ini file)
- Upload Maximum Filesize: 10M How to change it
- Maximum Post Size: 30M How to change it
- WP Memory Limit: 256M How to change it
How to install and activate the theme
There are two ways to install the theme on your WordPress website:
- Uploading from WordPress:
- First, log in to your WordPress dashboard. Check it out
- Go to Appearance > Themes and, from the top left corner, click on Add New.
- You will be directed to a new page. Click on Upload Theme.
- In the dialogue box, browse for the theme ZIP file on your computer and click on install and wait for the upload to finish.
- After uploading the theme, WordPress asks you to activate it:
- Using FTP (You can use FileZilla to upload the theme on your WordPress website). For more information, click here.
7. How to install a plugin on a WordPress website?
You can install plugins on WordPress websites in 3 different ways:
7.1. Installing a plugin with FTP: First of all, you should download the source file, which is a zip file, then extract and upload it in the wp-content/plugins directory.
After uploading the files you should go to the WordPress management page then in the plugins section you can find your uploaded plugin, which is added to the plugins list. Using this section, you can activate your plugin and start using it on your WordPress website.
7.2. Upload and install the plugin with WordPress management dashboard: This method is used when you have already downloaded the plugin zip file on your device. From the plugins menu, go to Add plugin then click on the upload plugin link, then choose the plugin file from there and install it. You can activate the plugin just like the previous method and use it on your WordPress website.
7.3. installing WordPress with plugins explorer: This is the simplest way to install a plugin on a WordPress website. In the WordPress management page Go to Plugins>Add and from there type the name of your favorite plugin in the search box, after finding that click on install and at last activate the plugin like the other methods.
December 2, 2019
November 30, 2019
November 27, 2019