Setup and Configure WordPress
As WordPress is almost 14 years into its existence, it is fast becoming the standard for web development. It is an open source content management system enabling users to easily manage and build websites. Now, most of the developers and non-developers are using word-press as cms for their websites. WordPress designed and developed for the developers to save time, and start building a website after some configure and setting up WordPress. In this article, we will discuss some essential steps for setting up the WordPress & configure CMS and start developing a website.
How WordPress works?
Here is what WordPress does. It uses a user-friendly GUI to enable users to customize and manage the content and design minimizing interaction of the user with the complex codes working behind the scenes. Before we discuss CMS, we have to understand how a website works.
Websites are built on HTML for coding and CSS for its design. There are two parts of the website, namely the front-end and the back-end. The front end (composed of HTML & CSS) is visible to the consumers around the world; however, the back end is where the website owners and developers are working on the site day in and day out. It is simply the admin area of the website.
If you are seeking to use duplicate patterns or material on your website on many pages, it seems like a tiring task. Copy the code again and paste it in the HTML pages where it is required. To many, it may still look easy. But let’s say you have a website of 100 pages and you need to change the top navigation bar, then you may have to make changes a hundred times.
With the introduction of PHP, dynamic content web files were introduced. To save your hassle, here WordPress comes in handy. It automates a lot of code-based functions inside a website. Website owners do not require to build menus, navigation, and other static elements, over and over again. They only need to worry about the dynamic content, such as text, images, sounds, and videos.
How To Download WordPress?
WordPress enables over 30 percent of internet users to self-host and design their own websites. Regardless, newbies might spend longer than the famous five minutes discovering how to download WordPress, let alone install it.
There are two main ways to install WordPress. The long way enables you to tailor your installation to your exact needs from the start. Alternately, the one-click approach is rapid but may leave you with work to do later. In this article, we’ll help you to download and install WordPress. Best of all, it will only take five steps.
- Download the WordPress .zip file
- Create a WordPress database and user
- Set up wp-config.php
- Upload your WordPress files via FTP
- Run the WordPress installer
1. Download the WordPress .zip file
First, you’ll need to download WordPress itself. Fortunately, this step will be easy if you’re experienced with the internet. Navigate to the Download WordPress page, and then click the blue button on the right side.
2. Create a WordPress database and user
Next, you’ll need to decide whether to create a WordPress database and user. You might not have to do this depending on your host, so it’s worth investigating further. The answer might be in your host’s documentation, or you can ask directly. If you do need to create a database and user manually, you’ll also need to know what web hosting control panel you’re running.
3. Setup wp-configure.php
One of the most important files in your WordPress installation is the wp-config.php file. This file is located in the root of your WordPress file directory and contains your website’s base configuration details, such as database connection information.
When you first download WordPress, the wp-config.php file isn’t included. The WordPress setup process will create a wp-config.php file for you based on the information you provide.
You can manually create a wp-config.php file by locating the sample file named “wp-config-sample.php” (located in the root install-directory), editing it as required, and then saving it as wp-config.php.
4. Upload your WordPress via FTP
FTP is short for File transfer protocol. It allows you to transfer files from your computer to your website hosting account.
Now you might be thinking there is already a media uploader inside the WordPress admin area for uploading files like images, video, audio, PDF and more.
Why do you need FTP?
You need FTP to be able to manually upload files in WordPress that sometimes won’t work due to an error on your site.
Normally, you don’t need FTP to upload files at all. You can easily upload images from WordPress admin area. You can even upload plugins and themes from WordPress itself.
However, sometimes you will need to upload a plugin or theme file manually for WordPress troubleshooting purposes and fixing most common WordPress errors.
5. Run the WordPress installer
- Download and unzip the WordPress package if you haven’t already.
- Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
- (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
- Upload the WordPress files to the desired location on your web server:
- If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (excluding the WordPress directory itself) into the root directory of your web server.
- If you want to have your WordPress installation in its own subdirectory on your website (e.g. http://example.com/blog/), create the blog directory on your server and upload the contents of the unzipped WordPress package to the directory via FTP.
- Note: If your FTP client has an option to convert file names to lower case, make sure it’s disabled.
- Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
- If you installed WordPress in the root directory, you should visit: http://example.com/
- If you installed WordPress in its own subdirectory called a blog, for example, you should visit: http://example.com/blog/
For More, Read!