How to Install WordPress

| |

Installing WordPress can seem a daunting task for beginners, but it really isn´t all that difficult. This tutorial will guide you through the process of setting up your WordPress site in four quick and easy steps. By following this guide you´ll not only learn how to install WordPress on your server, but you´ll also understand a little bit more about how WordPress works. Let´s get started!

Tools of the trade

During the set up we´ll use a few tools. Some of these are probably already installed on your computer. Have a look and download what´s missing. This is what you need:

  • Text editor – We´ll use a simple text editor to make notes, temporarily save passwords and usernames and edit WordPress files. Don´t use MS Word for this, as this program adds all kinds of invisible markup to your text. We strongly recommend you to use Notepad++ if you´re on Windows. If you´re on a Mac, have a look at TextWrangler. Both programs are 100% free.
  • FTP Client – An FTP Client is a small prgram that allows you to upload files to your server. We recommend the free open source program FileZilla.
  • Server login details – You´re hosting provider probably sent you an email with all logind etails for your account. We´ll need the login details for the FTP server and the ones for the control panel (cPanel, Plesk or DirectAdmin for example).
  • Password Tools (Optional) – To prevent your blog from being hacked, secure passwords are essential. Don´t use dictionary words, not even combined with letters or numbers. Choose a random string of lettes, numbers and symbols instead. Here´s a password generator you can use. After installing WordPress, you´ll want to store your passwords in a save place. Lastpass is a useful browser plugin that will automatically log you in to the sites you want.

Step 1: Preparation

We´ll start with creating a new folder on our computer where we´ll save all notes, documents and folders that we´ll use during the installation process. I usually create the folder on my desktop and call it wordpress_install. When done, open your text editor and create a new document. Save this as passwords.txt in your newly created folder.

Head over to and download the latest release. When done, unzip the file and save it in the wordpress_install folder. You´ll end up with this:

When we´re finished, simply delete this folder, but don´t forget to store your passwords first!

Step 2: Create the WordPress database

Creating a WordPress database in DirectAdmin

If you´ve never worked with servers, you´re probably not familar with the concept of databases. Don´t worry, it´s really simple to understand. Just think of a database as an Excel spreadsheet, with rows and columns. Within the spreadsheets there are also different worksheets. A database is pretty much the same.

WordPress uses this database to save all your posts, pages, uploads and personal settings. For security reasons WordPress can´t create the database itself, so we´ll have to do it. When done we´ll give the username and password to WordPress.

Databases come in different colors and flavours. WordPress uses a MySQL database.

The general process for creating a WordPress database is pretty similar on different control panels, although the exact steps may be slightly different.

  1. Login to your control panel with the login details your hosting provider sent you
  2. Find the “Create a database” link (other possible names: MySQL Database Wizard or MySQL Manager.)
  3. Create a database
  4. Create a database user and password
  5. Add the user to the database

Copy the database name, user and password to the password.txt file.

Step 3: Edit wp-config.php

Now that our database is set up, we should pass the login details to WordPress. We´ll also configure some additional WordPress settings. Start by opening the file wp-config-sample.php that you´ll find in the WordPress folder.

  • Add your database name, database user and password on the following lines:
    • define('DB_NAME', 'your_databasename');
    • define('DB_USER', 'your_username');
    • define('DB_PASSWORD', 'yourpassword');
  • Go to the WordPress secret key service and replace the secret keys in the wp-config-sample.php file with the keys on this page.
  • In the config file, look up the entry
    $table_prefix  = 'wp_';

    Add a few random numbers and letters after the


    prefix and end with an underscore. Example:

    $table_prefix  = 'wp_1a2b34_';

    (Do not copy this example!)

  • Close the wp-config-sample.php file and rename it to wp-config.php

Step 4: Upload and install WordPress

Now that we´ve created a database and provided WordPress with the login details, it´s time to upload all our WordPress files to our server.

  • Open FileZilla and connect to your server with the username and password your hosting provider sent you.
  • Copy all the contents of the wordpress folder to the public_html folder on your server (or if you want to install wordpress in a subdirectory copy them to that folder).
  • Go to (replace with your domain) and fill in the site title, username and password. For security reasons it´s better not to use the default “admin” username. Any alternative is fine. Generate a long, random password and note it down in your password.txt file

Updating PHP or Other Services with DirectAdmin Custombuild


78 thoughts on “How to Install WordPress”

  1. We stumbled over here coming from a different website and thought I may as well check things out.
    I like what I see so now i am following you. Look forward
    to looking at your web page repeatedly.

  2. My spouse and I stumbled over here by a different web page and thought I might check things
    out. I like what I see so now i’m following you.
    Look forward to finding out about your web page
    for a second time.

  3. Vous avez oublié un point fondamental. Les erreurs d’orthographe, les erreurs
    de syntaxes, les conversations alambiquées et, bien pires, les erreurs de copie sont des défauts rédhibitoires.
    Toutes choses dont sont truffés vos articles. Pensez à bien relire voire même à faire relire chaque billet par quelques personnes de votre environnement avant sa
    publication. En général, un site web qui présente
    ces défauts ne me aperçoit pas revenir. Bon courage.

  4. Excellent goods from you, man. I have understand your stuff previous to and you’re just too wonderful.
    I really like what you’ve acquired here, certainly like
    what you are saying and the way in which you say it.
    You make it enjoyable and you still take care of
    to keep it wise. I can’t wait to read far more from
    you. This is really a tremendous web site.

  5. I aam really impressed with your writing skills as well aas with the layout on your
    weblog. Is this a paid theme or did you modify it yourself?

    Either way keep up thee nice quality writing, it’s rare to see a
    ice blog like this one nowadays.

  6. I wouldn’t normally be so intrigued by content on this topic but the way you wrote this really grabbed my attention. It is very well thought out and interesting informative content. Thank you for sharing!

  7. Thanks for another informative blog. The place else may just I am getting that
    type of information written in such a perfect means?
    I’ve a mission that I’m simply now working on, and I’ve been at the look out for such info.

  8. I was wondering if you ever considered changing the structure of your site?

    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could
    connect with it better. Youve got an awful lot of text for only having 1 or two pictures.
    Maybe you could space it out better?

  9. I like the helpful information you provide in your
    articles. I’ll bookmark your weblog and check again here frequently.
    I am quite sure I’ll learn lots of new stuff right here!
    Good luck for the next!

  10. What i do not realize is if truth be told how you are not really a lot more smartly-liked than you may be right now. You are very intelligent. You understand therefore significantly when it comes to this matter, produced me in my opinion consider it from numerous varied angles. Its like men and women don’t seem to be fascinated except it is something to accomplish with Woman gaga! Your individual stuffs outstanding. Always handle it up!

  11. I know this if off topic but I’m looking into starting my own weblog and was wondering what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet smart so I’m not 100 sure. Any recommendations or advice would be greatly appreciated. Many thanks

  12. Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.

  13. You have remarked very interesting details! ps decent internet site. “Do not quench your inspiration and your inmagination do not become the slave of your model.” by Vincent Van Gogh.

  14. Its such as you read my mind! You seem to grasp a lot approximately this,
    such as you wrote the ebook in it or something. I feel that you just can do
    with some p.c. to pressure the message house a little bit, but instead of that, this is great blog.
    A fantastic read. I will certainly be back.

  15. Hi, Neat post. There’s a problem with your site in internet explorer, would check this… IE still is the market leader and a large portion of people will miss your magnificent writing because of this problem.

  16. I got what you mean , thanks for putting up.Woh I am delighted to find this website through google. “Being intelligent is not a felony, but most societies evaluate it as at least a misdemeanor.” by Lazarus Long.

  17. Thanks for some other excellent post. The place else may just anyone get that kind of info in such a perfect method of writing? I’ve a presentation subsequent week, and I am at the look for such info.

  18. I have been exploring for a little bit for any high-quality articles or blog posts on this kind of area . Exploring in Yahoo I ultimately stumbled upon this web site. Studying this info So i am happy to convey that I’ve an incredibly good uncanny feeling I found out just what I needed. I such a lot indisputably will make sure to don’t disregard this web site and provides it a look regularly.

  19. I believe everything posted was actually very reasonable.
    However, what about this? what if you composed a catchier post title?
    I am not suggesting your content isn’t good., however suppose you
    added a post title that makes people desire more?
    I mean How to install WordPress: the ultimate beginners tutorial is kinda vanilla.

    You should peek at Yahoo’s home page and note how they create article headlines to grab
    viewers to open the links. You might try adding a video or a
    related picture or two to grab readers interested about everything’ve got to say.
    In my opinion, it would make your posts a little

  20. Its like you read my mind! You seem to know so much about this,
    like you wrote the book in it or something. I think
    that you could do with a few pics to drive the message home a little bit, but instead of that,
    this is excellent blog. A fantastic read.
    I will definitely be back.

  21. Hi, i feel that i noticed you visited my web site so i
    came to go back the favor?.I am trying to in finding
    things to enhance my website!I guess its good enough to make use of a few of your ideas!!

  22. With havin so much written content do you ever run into any problems
    of plagorism or copyright violation? My blog has a lot of completely unique
    content I’ve either written myself or outsourced but it appears a lot
    of it is popping it up all over the web without my authorization.
    Do you know any methods to help prevent content from being ripped off?
    I’d definitely appreciate it.

  23. My developer is trying to convince me to move to
    .net from PHP. I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using WordPress on a
    number of websites for about a year and am worried about
    switching to another platform. I have heard excellent things about

    Is there a way I can transfer all my wordpress content into it?
    Any kind of help would be greatly appreciated!

  24. Do you mind if I quote a couple of your posts as long as I provide credit
    and sources back to your weblog? My blog site is
    in the exact same niche as yours and my visitors would certainly benefit from a lot of the information you provide here.

    Please let me know if this okay with you. Appreciate it!

  25. Hi there! This post couldn’t be written any better! Reading through this post
    reminds me of my previous room mate! He always kept talking
    about this. I will forward this post to him. Fairly certain he will have a good read.
    Thank you for sharing!

  26. Greetings I am so delighted I found your weblog, I really found you by accident, while I was
    browsing on Yahoo for something else, Anyways I am here now
    and would just like to say thanks a lot for a marvelous post and a all round enjoyable blog (I also love the theme/design), I don’t have time to read
    it all at the minute but I have book-marked it and also added in your RSS feeds, so when I have time
    I will be back to read more, Please do keep up the excellent job.

  27. With havin so much content and articles do you ever run into
    any issues of plagorism or copyright violation? My website
    has a lot of compleetely unjique content I’ve either written myself or outsourced but it
    looks like a lot of it is popping it up all over the web without my authorization. Do you know any methods to help reduce content
    from being ripped off? I’d really appreciate it.

    My website :: best forex systems (Kay)

  28. What i do not realize is in reality how you’re nnow not really a lot more neatly-preferred than you might be now.
    You’re veryy intelligent. You alrready know thus significantly on the subject of this topic, made
    me individually imagine itt from a lot of various angles.
    Its like men and women aren’t fascinated uhtil it is something
    to do with Lady gaga! Youur own stuffs outstanding. At all times maintain it up!

    my website; how to restore nicd power tool batteries (Waldo)

  29. Just wish to say your article is as amazing. The clarity in your post is
    just cool and i could assume you are an expert on this subject.
    Fine with your permission let me to grab your RSS feed
    to keep up to date with forthcoming post. Thanks a million and please carry on the gratifying work.

Leave a Comment