Wiki WordPress: How to Create a WordPress Website?
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 question 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, using the link below go to the page with a blue button and press it 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.
2. How to install WordPress on CPanel?
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 at the left side of the page. This is your host root file and you should put and install the WordPress files in this folder.
At the top of the page use 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 in 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 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 “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.
3. How to set up WordPress on the domain?
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, 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 local host. After these steps, type “localhost/phpmyadmin” in your explorer address bar and tap Enter.
You need a database, so click 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 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 local host to a live server?
Open phpMyAdmin on your localhost, find your WordPress database, select it and click on check all. In “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 Databases section, click on phpMyAdmin. At the left side you will see the database list, select your database and click on 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. In 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 “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 template on WordPress?
There are different ways to install a template on WordPress, 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 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.
7. How to install a plugin on a WordPress website?
You can install a plugin on WordPress 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 plugins list. Using this section, you can activate your plugin and prepare it for use.
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.
7.3. installing WordPress with plugins explorer: This is the simplest way to install a plugin. 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.