- Method #1: From your cPanel (for beginners)
- Method #2: By FTP with from a zip file
- Method #3: By FTP from a php file
#1 From your cPanel or web hosting panel
This method is great for total beginners. If you ever wanted a blog but thought it’s too hard to install then this is definitely for you.
If you don’t know what FTP is and you are not that good with web stuff then try this.
After you setup your domain, with a web hosting, you wore given a username and password to a control panel for your domain. That is the place where you go and you create an email address, for example.
Most web hosting providers also offer a click-by-click way of installing WordPress so look for the WordPress icon in your control panel.
It could look something like this:
Or maybe like this:
Whatever it looks like just make sure you can see the WordPress logo.
To install WordPress just click the logo to go to the WordPress section where you might need to click an Install or an Install this application button to start the installation process.
You will be asked to fill in some information like Blog name, username and password etc.
After you fill in all the information you click install and you’re done.
#2 Install WordPress by FTP, from zip a file
The cPanel method might be fast but for some reason I don’t like it that much.
It creates a database for you and it sets everything up but I like to create my own database so I know how to connect to it later from PhpMyAdmin (which is a database viewer/editor).
#2.1 Downloading WordPress
To download a copy of WordPress head over to WordPress.org here:
Once you download the archive, unzip it in a directory and continue with the steps bellow.
#2.2 Create a MySQL database
First you will need to create a database for your blog.
If you have a lot of domains and blogs then it’s a good idea to have separate databases for them. That way you keep everything separated and tidy.
To create your database go to your domain panel and search for the database section.
In cPanel it will look like one of the icons bellow:
Clicking that icon will take you to a page where you will first write a database name, then a database username and password(this will be used to connect to that database), and you will also need to choose what privileges the user has over the database. Just select all privileges. The process will look similar to this:
#2.3 Connecting by FTP
When you are done with the database you will need to get yourself a FTP client. That is the name of the type software that will help you to connect to your server and manage your files.
Do not use FileZilla. It’s a well knows FTP client but you need to download it from Sourceforge.Net and that site is full of adware. You’ll get infected with some toolbar or adware. Never download anything from Sourceforge.Net.
For Windows you can use WinSCP (free) or FlashFXP ($29.95). I personally use FlashFXP but WinSCP is a good free alternative.
Regardless of what software you use, you will need these 3 key pieces of information:
– server url
– FTP username
– FTP password
You should have gotten this information by email when you setup your domain with your web hosting.
The server url is usually the same as your domain name. So if your domain name is dolcepixel.com then using dolcepixel.com or ftp.dolcepixel.com will work.
You can use the username and password combination from your domain control panel login as the FTP username and password. It should work in most cases. Otherwise, you should have this information in the email you get from your web hosting.
You can also add a new FTP account from your FTP accounts section, in your domain control panel or cPanel.
Now that you have that information you need to connect to your server.
Open WinSCP and click New Site.
Write your FTP information and click the Save button, like this:
Then write your site’s name, check the option “Save Password” and then click the Ok button. I know it says it’s not recommended to save the password but let’s face it, you’re not going to go and search for your password each time you connect to your site.
Now each time you want to connect to your website your just click the name and then the Login button.
When you first log in to your site you will see a list of folder names in the left and right side.
The left side is for files from your computer and the right side is for files from your domain.
The right side can look like this:
Your WordPress files will go in your /public_html directory.
Some hosts will have a /www or /httpdocs directory or something similar. That is where you need to copy your WordPress files.
If you want to install your blog in a directory and have a url like this http://example.com/blog/ then you will need to create the /blog directory inside the /public_html directory, and copy your WordPress files in the /blog directory.
To enter the /public_html directory you just double-click on it.
From the left side, you navigate to the directory where you unzipped the WordPress archive and then drag all the files from that directory in public_html. Don’t copy the whole directory, just the contents.
Your server should look like this at the end:
#2.4 Setting up WordPress
Write your domain name in the browser and hit enter. If you’ve done everything correct then you’ll be greeted by the WordPress logo.
You need to select your preferred language and click Continue. Keep in mind this language is only for the WordPress admin pages. The theme that you will be using for the actual blog articles will not be in the same language.
The following page will tell you that you need to know 5 things before you continue.
Just click the Let’s go button to move on.
Next, you need to connect your blog to the database that you created. That way your blog articles will be stored in that database and when people visit your blog WordPress can show them to your visitors.
The screen will look like this:
You should already know your Database Name, your User Name and your Password. You created them in the beginning of this article.
For the Database Host you just leave localhost. If that doesn’t work then contact your web hosting and ask them what the MySQL server url is. They will know what that is.
For the Table Prefix pick something else than the default wp_. It’s better if you don’t use the default since a lot of hackers are targeting that prefix. You could use myblog_ or blue_.
The _ sign at the end is not mandatory. It’s just to make the database table names a bit more legible.
After you fill in all fields click Submit.
If the database information is correct then you will see a page with a Run the install button. Click that and wait a few seconds while the script installs the database for the blog.
The next page will look like this:
– Should be between 1 and 3 words short
– It will appear in all the pages of the blog
– Don’t pick admin as your username. Be creative. Your name should be fine.
– Use the password that WordPress picked or write something complicated
– Don’t write 123456, password or anything simple. That will get you hacked.
– Any email address is fine
After you came up with a witty name for your blog click the Install WordPress button and you’re done.
All you need to do now is log in to your blog with the username and password you picked.
If you can’t find your WordPress Dashboard (the admin side of your blog. where you write your articles) then just write /wp-admin/ at the end of your domain.
Like this http://example.com/wp-admin/. That will take you to your WordPress Dashboard.
#3 Install WordPress by FTP, from a php file
This is my preferred method because it’s a bit faster than Method #2.
You don’t need to download the WordPress zip file anymore. But you will need to download the file bellow:
This is a php file but I archived it for security. I don’t want anyone to run the file on my own domain.
Unzip it and keep the file on your hard drive until later on.
Now, instead of copying 1300 files from the WordPress archive, you just copy the file I gave you above and then visit that file in your browser.
If your domain is example.com then you will go to the url:
On that page, you will see a Do it button that you need to click to get the process started.
What this file does is to download the latest version of WordPress directly to your server, unzip it and then copy the files to your server.
Instead of you downloading the archive and spending time uploading 1300 files, the file will do this for you, and much faster.
After the file has finished copying WordPress to your server, make sure you delete the file wordpress-loader.php from your FTP list. You don’t want other people to overwrite your blog later on.
Now all you need to do is go and 2.4 Setup your WordPress blog