SEARCH

How-To Geek

Install WordPress Manually on Your Website Using CPanel Wizards

Would you like to install WordPress directly on your own site?  We’ve been covering ways you can use WordPress for your personal blog or website, so here’s how you can install the WordPress software manually on your own site.

Please Note: Installing WordPress manually is slightly complicated, so we recommend using an installer script if your website hosting provider offers one.  Check out our article for info on how to Install WordPress on Your Own Server With Softaculous, as this is a much easier way to install WordPress.  But, if you enjoy manually setting up your site, or your hosting provider doesn’t offer Softaculous or a similar installer, this method works great too.

Create a Database for WordPress

First, you’ll need to setup a MySQL database on your server for WordPress.  Most hosting companies provide an interface that makes it easy to setup a database, and here we’ll be using the MySQL Wizard on the popular cPanel admin panel.  If your hosting provider uses a different interface, the steps may be slightly different but in general should work mostly the same.

To do this in cPanel, login to your dashboard, scroll down to the Database section, and select MySQL Database Wizard.

image

Enter a new name for your database.  Note that your full name will include the name on the left of the text box, so the full name is usually something like yourhosting_yourdatabasename.  Click Next Step when you’re ready.

SNAGHTML1889e8f

Now enter a database username and password, and click Create User.  If you’d like to make sure you have a strong password, you can use the Password Generator which will create a secure, random password.  Again, make sure to note the password and username, as you will need this information when you setup WordPress.

image

Download WordPress and Upload it To Your Site

Now you’re ready to get WordPress running on your website.  Head over to the WordPress download page, and download the zip file containing the latest version of WordPress.

sshot-2010-06-30-[13-07-05]

Extract the contents of the WordPress zip file, and note where you saved these files.

image

Once the files are extracted, you’ll need to create a wp-config.php file with your database information.  To do this, open the WordPress folder, find the wp-config-sample.php file and open it in your favorite web editor or a text editor such as Notepad.

image

Scroll down to the MySQL settings in the file, and enter the information from your database you created before.  Place your database name instead of database_name_here, your username instead of username_here, and so on.  For most hosts, leave the hostname as localhost; if your site is configured differently, check with your hosting provider for database information.  Leave the single quotes in place; only enter the correct info instead of the default filler text.

SNAGHTML1943dd7[4]

Once your settings are entered, save the file as wp-config.php.  Make sure you select the filetype as All Files if you’re editing in Notepad.

image

You are now ready to upload WordPress to your site.  If you don’t already have an FTP program installed, you can download the free FileZilla (link below) and install it as normal.

sshot-2010-06-30-[13-20-48]

Now open FileZilla or another favorite FTP client, and enter your FTP account information in the top.  You should have received this information from your hosting provider; if you’re unsure, you may need to contact your website hosting provider’s support service.  Click Quickconnect when your info is entered.

sshot-2010-06-30-[13-19-11]

After a few moments, you should be connected to your website via FTP.  If instead you see an error in the activity log, double-check your login information as your username or password may be incorrect.

SNAGHTML11b37b9

Now, if you want to install WordPress as your main website, browse to public_html on your server, which is on the right side of the window.  If you’d rather install it as a sub-directory, then browse to the folder of your choice.

image

On the left side of the window, browse to your WordPress folder on your computer.  Open it, select all of the files, then right-click and select Upload.

image

Finish Setting up WordPress

The full upload will take several minutes, depending on your internet connection speed.  Once its finished, you can start setting up your site.  Open your browser, and enter http://yourdomain.com/wp-config.php, replacing yourdomain.com with your domain or subdomain name.   After a few moments, the WordPress configuration page will open.  Enter a name for your site, and account information for the site administrator.  Enter your email address as well so the site information can be emailed to you.  When everything’s entered, click Install WordPress.

image 

After a moment, you’ll see the Success screen letting you know that WordPress is fully installed on your site.  Click Log In to access your new WordPress site’s admin page.

image

Enter the username and password you just created, and click Log In.  You can access this page anytime in the future by browsing to http://yourdomain.com/wp-admin.php.

image

Here’s the Dashboard on our new WordPress site.  You can now add posts, change the theme, and more, just like normal in WordPress.

image

You can access your new WordPress site at your domain.  Notice that it has a default pre-made post, but you can remove or change this if you like.

image

Conclusion

Although it is slightly complicated to install WordPress manually on your site, it is much easier to install than many other CMS platforms.  One of the best features of WordPress is that you can use it for free on WordPress.com, install it on your site with an installer script, or upload it directly to your website.  WordPress works almost the same whether you’ve installed it on your own site or are using the free hosted version on WordPress.com, so it’ll be quick and easy to get your site looking just like you want.

Link

Download WordPress for your site

Download FileZilla FTP client

Matthew digs up tasty bytes about Windows, Virtualization, and the cloud, and serves them up for all to enjoy!

  • Published 07/8/10

Comments (20)

  1. AF

    Web host installer scripts aren’t always up to date and some even modify the software code. If you have the ability to install the application on your own, you should always do it yourself. That way you’re absolutely sure everything is as the developers intended it to be. Even for a beginner, installing WP shouldn’t be too difficult. It’s famous for the quick and easy installation. Create a MySQL database, modify the config file with the database credentials, upload all the files, run the install script, and delete the install script.

  2. SquareWheel

    Absolutely. Install manually to get the latest version. It’s really quite easy.

  3. Siva

    What about vbulletin ?
    I tried to install but i get an error in that during installation…

    “Step 2) Connect to the database

    Attempting to attach to database

    Error description: mysql_connect() [function.mysql-connect]: Access denied for user ‘dbusername(edited)’@’localhost’ (using password: YES) /home/username(edited)/public_html/forum/includes/class_core.php on line 313

    The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the ‘includes/config.php’ file.”

    Any suggestion.
    I host my hoster who had dedicated server from The planet . what should i replace for “localhost ” in the config.php file ?

  4. Matthew Guay

    @Siva – You’ll need to contact your hosting company and ask for their database settings. WordPress.org has a list of settings from many hosts, but The Planet isn’t listed. You could check and see if the list is of help, though – http://codex.wordpress.org/Editing_wp-config.php

  5. DAMINK

    Although most Cpanel’s have Fantastico and thus allows for a simple installs, this is still a great tutorial.
    Bookmarked.

  6. Diogo

    Hi, I’m registered in a free host server which uses FTP to upload the pages, could I install a DataBase via FTP (I’m noob in these things :S)

    PS: The Host doesn’t have a cPanel or MySql….

  7. Matthew Guay

    @Diogo – Sorry; if your host doesn’t offer MySQL, then you won’t be able to run WordPress. If you’re looking for free hosting, you might be better off to try out WordPress.com.

  8. vetriselvi

    Hi i am new to this site……………

  9. Marie Chelle

    Nice Information.. Thx for sharing this

  10. Foula

    Really it’s a wonderful guide to install a WordPress Manually.
    I like the screenshots way to learn somebody with the steps they have to do, its simple, easy, and you’ll never forget it.
    Thanks guys

  11. John

    Hi… just needed an additional information but foremost, your article is really helpful. Now just one question, when I install wordpress on my website, can others register and posts blogs on this site?

  12. Andy D

    Hi, I am about to transfer my blog/website from Tumblr to WordPress and am almost a complete beginner when it comes to this sort of stuff. As soon as I install wordpress on my website, does that mean all traffic will go to there? Do you have tips for how I can make a smooth tranmission? Any help would be much appreciated!

  13. Matthew Guay

    @Andy – If you have a custom domain on your Tumblr site, then you can fully move the site and redirect the domain. For more info, check out this article I recently wrote that details all the steps you’ll need to move your Tumblr site fully over to WordPress – http://techinch.com/2010/12/10/move-your-tumblr-blog-to-wordpress/

    Hope that helps!

  14. Andy D

    Matthew, thanks! What a great read. Gunna give it a go in the next 2 weeks or so, so i’ll let you know what the outcome is! My original question still stands however – once I actually install wordpress on my domain, will that disable my tumblr blog? So there will have to be some downtime before I get things up and running again? Forgive me if i’ve missed the point, thanks again for your help!

  15. Matthew Guay

    @Andy – Ah, I see what you’re meaning. If you follow the directions in the article I linked before, then no, your site shouldn’t see any downtime. Do you have a unique domain name on your Tumblr blog (e.g. yourname.com instead of yourname.tumblr.com)? If so, then here’s the basic steps to avoid downtime:

    – Install + setup WordPress for a Tumblog
    – Export your Tumblr files and import them into your new WordPress blog. Make sure everything looks just like you want.
    – Now, change your domain’s DNS settings to point to your WordPress host. After around 24 hours, anyone visiting your old site will find themselves at your new WordPress site, just with the new content.
    – Finally, set the 301 redirects on your WordPress site so old links to individual articles will go to the new WordPress pages. If your content wasn’t getting a lot of hits and you don’t think many people will be visiting old links, you could skip this step. If your site ranks high in search engines, though, this is an important step to make sure you don’t lose search rankings.

    Once you’ve done all that, your old Tumblr blog will still be there, accessible from youname.tumblr.com, but also all of your content will be moved to your WordPress site. You could delete the Tumblr blog if you want, or leave it … either way. Typically, again, it’s best from a search engine perspective to not have the same content on 2 sites, but if you want to leave it you can.

    Hope that helps, and if you hit any snags, feel free to contact me at maguay [at] techinch.com.

  16. justme

    Great tutorial. Thank you, guys.

  17. sk sharma

    Thanks for the nice post

  18. Blur854

    Awesome, thanks! I’m totally new to WordPress, but this post made the setup incredibly easy.

  19. Rose

    This is great! Your instruction is much simpler than the others. I can’t wait to do it on my own. Noob here but can learn from reading. Thanks!

  20. Ammar Ali

    Great tutorial . I do all things mentioned in this articles and setup my new WordPress blog successfully.
    but only problem I have is, I don’t have a good WordPress theme like yours can you please tell me what is your name of theme you use in How To Geek blog.

Enter Your Email Here to Get Access for Free:

Go check your email!