How to Install WordPress Manually | Tutorial Freak – Online Tutorials

How to Install WordPress Manually

There are few of ways to install WordPress, and you should do it in a way thats easy for you. Some hosts have “one-click” installs via application like “Softaculous” that install WordPress for you. You can also install it manually with an FTP client or Shell access.

Install WordPress Manually

In this tutorial, I will teach you the manual install with FTP, because:

  • There are too many hosts with their own versions of automated installation processes.
  • You should learn it the hard way (it is not that hard by the way) and learn it completely, so we’re going to “get our hands dirty”.

Now, we require few tools and some information to install WordPress, let me list them out below:

  • FTP or Shell access – FTP is the easiest method. FTP (File Transfer Protocol) allows you to transfer files very easily. Using this you can upload and download files to and from your host’s server. There are a lot of choices for FTP clients. I personally use FileZilla (click on link to go to download page), as it is very simple and easy to use client. Moreover, it is Mac/Windows/Linux capable desktop application. And its free too!
  • Text Editor – When working with codes, you need a text editor that does not alter what you input – Microsoft Word IS NOT a text editor. Notepad (for Windows) and TextEdit (for Mac) are the default system text editors, they are lightweight and don’t come with any extra features. I personally love Notepad++ for Windows, because it is powerful enough and also simple enough for my needs with WordPress. Mac Users can try TextWrangler as an alternative to Notepad++. You can also try sites like PasteBin for some quick editings.

Information pre-required to perform the installation

  • FTP login details – You should have obtained the FTP login details with your host already. You require your username and password to access the server through FTP client. The address for the FTP site will be like your web address, but instead of http://domain.com, it will be ftp://domain.com.
  • cPanel, Kloxo etc (hosting admin panel) login info – You need to make sure you know how to access your hosting control panel, so that you can set up the database for WordPress. Also, you will need your database name and user information handy.

Now that we have everything handy, let us start!

Steps to install WordPress

Download the latest version of WordPress

WordPress is an open source software that is constantly being improved by members of the community. The most recent and stable version is always on the WordPress.org download page. You should always be running the most recent release to protect your site and to keep up with the times!

Create a MySQL Database and MySQL User

You need to create your MySql database and username for the installation. The easiest way to do this is through your host’s cPanel/Kloxo or any other hosting admin/control panel your host may offer. Login to your account and look for a link called MySQL Databases, or something similar. Click on create database and assign the database name, username and password for the database. Take note of these three somewhere and keep it safe – it is vital in the installation process and in future too!

Tip – Choose a strong password using Online Password Generator to stay safe.

Edit wp-config.php

In the WordPress download, there is a file called wp-config-sample.php. We need to edit that file and rename it to wp-config.php. So open wp-config.php (after renaming) in your text editor, and alter the following values:

/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name_here’);

/** MySQL database username */
define(‘DB_USER’, ‘username_here’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password_here’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

  • Replace ‘database_name_here’ with the database name you just entered, keep the single quotes intact.
  • Replace ‘username_here’ with the database username you just entered, also keeping the single quotes intact.
  • Replace ‘password_here’ with the database password you just entered, also keeping the single quotes intact.
  • ‘localhost’ can stay the same, unless your host uses a different name – contact your host in case they use a different name.

Next, you need to set up the secret keys – don’t be afraid, it is pretty easy! There are eight lines in a row that say “put your unique phrase here”. These are security keys that were introduced by WordPress. This is extremely important and you should not ignore it.

WordPress has even made this task super easy for you with this secret key generator – just go to the url and copy the code and replace the existing lines in your wp-config.php file. This url randomizes the keys so they are unique every time the page is visited. Yes, they are crazy, long and full of weird characters.

We are now done with editing wp-config.php file, just save it!

Advanced users may want to know everything about this file – see WordPress Codex Page for detailed information and tips.

Time to upload files!

Open your FTP client and login. After you login, find the directory you want to install WordPress. If you want WordPress to be on the homepage of your site (recommended), files need to go in to the root folder. Depending on your host, the root folder may actually have its own place in your FTP connection. If you don’t put your files in the root, visitors will have to go to http://yourdomain.com/whatever-folder-you-want to see your WordPress site.

When you upload your files, don’t upload the entire WordPress folder, rather open the WordPress folder and upload each file and folder into the root or subdirectory depending on where you are installing it.

Run the install script!

Visit your new WordPress site! Go to http://yourdomain.com/wp-admin/install.php. If you did not upload WordPress in the root folder, then you need to insert that folder name, such as http://yourdomain.com/whatever-folder-you-want/wp-admin/install.php.

Now you will be greeted with the WordPress setup page. Input your desired site title, the admin username (DO NOT USER the default name – admin, it is easy for hackers!), a strong password (use online password generator link given above), and the email ID that will be used for notification purposes. You can also choose whether you want your site to be indexed by search engines like Google/Yahoo/Bing etc or not.

Click “Install WordPress” and…………… That is it! You can visit your url where you installed WordPress to check and see how your brand new website looks. Congratulations! You’ve successfully installed WordPress!

Received an error during installation? Go through the most common errors and steps to fix them

What Next?

You will now be greeted by the default WordPress theme on your homepage. If you want to get familiar with the backend, go to http://yourdomain.com/wp-admin login and look around. As the administrator of your new website, you’ll spend a lot of time here.

Also, make your site awesome by installing themes

Author, Blogger, SEO Expert, Working Professional and a Student! I play so many roles in life and love what i do. I enjoy each moment of my life. Do follow us on Facebook

Sagar – who has written posts on Tutorial Freak – Online Tutorials.


Help keep us alive & kicking, we need coffee 24/7, please donate, thanks!
Embed

Leave a Reply

      
      
      
      
      
      
      
      
             
Save Now! $1.99 .COM at GoDaddy!
             
      
  • Improve your SEO by using Social Media Effectively