What is WordPress?
WordPress is a powerful open source CMS built with PHP and MySQL and can be downloaded and used by any one. It’s built in theme and plugin system offers a great flexibility for any environment. In this step by step tutorial we will learn how we can setup our own WordPress system for our website/blog or eCommerce sites.
My experience says that it is always better to build any CMS based website in live server rather developing it in localhost and then uploading it to your server, because a CMS in itself is a heavy program, then we add themes, plugins, pages and posts to it so we need to reconfigure things again if we migrate from one location to another. I personally use live servers for every WordPress CMS installation which I do for my or my client’s websites or blogs. I buy domains and hosting from hostgator because of their pocket friendly prices and the top priority support they provide in any emergency and situations. This is good because I am experiencing almost no downtime with my websites. Hostgator also offers tremendous support for all CMS like WordPress, Joomla and so on and have a one click installation feature for more than 300 scripts with a platform named Softaculous, we will discuss one click installation later in our tutorial, now let us do the normal installation.
- PHP 5.6 or greater
- MySQL 5.6 or greater
- The mod_rewrite Apache module
- A local server or hosting space
- A FTP like filezilla for uploading your files to the hosting server.
Note: If you have a hostgator hosting account or you are willing to go with Softaculous installation then move to the “Installing WordPress with Softaculous” part below else you can proceed with the manual installation process.
You can buy hostgator with Indian debit and credit cards from :http://affiliates.hostgator.in/affiliate.php?id=7538
For users outside India you can buy from :http://partners.hostgator.com/c/314278/177309/3094
How to Install WordPress Step by Step Tutorial
Install WordPress Locally or Manually
WordPress is an open source CMS this means it is open to be used by any one and can be downloaded by anyone without hassles, you can download the WordPress package from the following URL and extract it.
Now either upload all files inside your WordPress directory to your server or put it in your localhost, as shown below.
Uploading Instruction For Hosting Servers
Suppose you want your WordPress to be installed at : www.your_WordPress_location.com then you will have to upload all files of the WordPress directory to the root directory of www.your_wordpress_location.com i.e public_html/the_directory_of_your_URL
Instruction For localhost (Installing WordPress Locally)
Create a new directory inside the root directory of your local server and name it anything you want, now paste all the files inside your WordPress directory in the folder you newly created. Now we will create our WordPress database.
Once you have created and uploaded your files, you will need to create one database, if you are using a server then go to your cpanel and create one database for your WordPress use, if you are using localhost then open the phpmyadmin or any database management tool you use and create a new database. Make a note of the following details
- Database name
- Username for database access
- Password for database access
The WordPress Installation
Now we have everything needed ready and we are geared up for installing WordPress, let’s start installing WordPress, there are two ways for WordPress install, one is we need to install it manually and second is let a program do it for us, if you have a hostgator hosting space then Softaculous will do everything for you, else if your hosting supports other installation methods then check with them, we will discuss the two methods of WordPress installations,
- Manual WordPress installation.
- Softaculous WordPress installation.
Installing WordPress Manually
As we have database and WordPress installation directory ready we can start installing WordPress, let us go to the root directory of our WordPress site, open your browser and go to the root directory, you will see a language chooser screen, you can choose your preferred language there and press continue.
You will see a prompt saying you to have required data ready before installation, such as database name and other details, press let’s go
A new screen will appear asking you details of your database details, fill in the form.
- Database Name: Is name of database which you are going to use for this WordPress setup, make sure the database is already created.
- Username: It is the username of your database which is needed by WordPress to access the database.
- Password: it is the password of your database which is also needed by WordPress to access database, if your database doesn’t need password then you can keep it blank.
- Database Host: This is the host address of your database server, i.e. localhost is used for locally accessible databases.
- Table Prefix: this adds a prefix to your table names inside the database, this can be used for securing your database as well as if you are running multiple WordPress under single database the table prefix can separate tables. Make sure you doesn’t keep the table prefix empty. Keep it default or fill in a different value.
Now press submit. If WordPress was able to access your database then you will see a new screen prompting that “WordPress was able to access your database and now it can begin installation“. Press run the install button. A moment and WordPress will display a new screen with welcome message, asking you the site details.
- Site title: The title of your website, keep this short and descriptive with the purpose of website. i.e. google search engine
- Username: This is the administrator username you will use to later control the WordPress CMS (logging in to wp-admin), make sure you keep a note of this.
- Password: This is the administrator password you will use to login and control the (wp-admin) WordPress CMS, also make a note of this
- Your Email: Put in your email address, it will be used for password recovery and every other tasks.
- Search Engine Visibility: whether you want the website to be accessible by search engines or want to keep it away from search engines.
Once done press install WordPress, bingo if you have filled in right information now you will see a new screen of success. Bingo you successfully installed WordPress.
Now click the login button and it will take you to the administrator login page. By default which is www.your_site_url.com/wp-admin
Enter your new username password created in last steps and press login. You will able to see the WordPress dashboard. So congratulations you have installed WordPress successfully.
Installing WordPress with Softaculous
You can also install WordPress with Softaculous if your hosting supports Softaculous in the cpanel. You can login to your hosting cpanel and check for Softaculous availability, if you do not have a hosting account then you can buy one. I prefer to go with hostgator as they provide feasibility for WordPress installation with a single click and also WordPress runs great on their platform. You can buy hostgator hosting with the penny offer which allows you to let use every hostgator services with just a penny for a month.
You can follow the link to buy a hostgator hosting or domain: Hostgator
If you are having a Indian credit/debit card you can buy hostgator hosting or domain from : Hostgator India
When you are ready, login to your cpanel and spot the Softaculous icon under the software section, click that now you will see the Softaculous available packages click on WordPress. If you are not able to spot WordPress then on the left navigation panel click over blog, a list will appear with blog applications available, there you can click on WordPress.
A new page will appear with description of WordPress.
Click the button install now. A new form will appear on your screen, fill in all the details.
Softaculous Software Setup
- Choose Protocol: By default the protocol is set to HTTP, you can change it to https if needed, HTTPS stands for HTTP secure, and you need a SSL certificate installed on your server for that. Currently we will go with HTTP because we have no SSL, but if you have SSL ready then you can use HTTP. Also you can chose whether your web URL needs to be www.your_url.com or simply your_url.com.
- Choose Domain: The choose domain allows us to select the domain under which we want to run this WordPress installation. Select your domain from the drop down list.
- In Directory: In directory allows us to let select the directory in which our new wordpress installation will reside. To install WordPress directly under your domain i.e. www.your_url.com keep “In Directory” empty, to install WordPress to www.your_url.com/blog type “blog” in the “In Directory”.
Softaculous Site Settings
- Site Name: Site name is the title for your WordPress website, keep it short and descriptive. i.e. google search engine.
- Site Description: Enter a short description within 150-160 words, which describes the purpose of this website.
- Enable Multisite (WPMU): Check if you want to run multiple WordPress under single installation. For now we need a single website so we will keep it blank.
Softaculous Admin Account
- Admin Username: Put in a username that you or any administrator of this website will use for logging into the WordPress admin area (wp-admin). Make a note of this.
- Admin Password: Put in a strong password which the administrator will use for logging in to admin area of WordPress (wp-admin). Make a note of this so you can remember the password.
- Admin Email: Put in the email of administrator which will be used for password recovery and other contacts by WordPress.
Softaculous Choose language
Select your preferred language for this WordPress setup and usage, I will keep this to English for mine.
Softaculous Select Plugins
This allows us to select the plugins we want to install with our WordPress installation, I will not select any.
Softaculous Advanced Options
This allows us to select advanced installation options like database name, table prefix and other.
Now fill in your email address in the “Email installation details to” field, this will email all installation details to the email address given, now press install. Once done you can login to your WordPress admin area. Check your email inbox you will receive an email with installation details. Keep the details available to you for future reference. Now you can login to your WordPress admin panel. Visit http://your_url.com/wp-admin.
If you can see the login page great you have installed WordPress successfully now you can login with the admin username and password.
If you found this tutorial helpful please share it with your friends and also comment below if you have any suggestions for this tutorial, if you want me to write any tutorial for you let me know.