How to install wordpress

How to install wordpress

First you need to install xampp on your system if you need guidance for the same please see our xampp installation tutorial

How to Create a Database for Your Local WordPress Installation

In your XAMPP information page, you will see a link to phpMyAdmin. Clicking on the link will open up phpMyAdmin and allow you to manage your databases. Alternatively, you can visit phpMyAdmin directly by entering http://localhost:XX/phpmyadmin/ into your browser.

Again, XX refers to the port your XAMPP installation uses. For me, the direct link to phpMyAdmin was http://localhost:88/phpmyadmin/. If you are using port 80, the URL for phpMyAdmin should be http://localhost/phpmyadmin/.

phpMyAdmin Home Page

At the top of phpMyAdmin, you will see a tab named “Databases”. If you click on that tab, you will see an option to create a new database. You can call your new database whatever you like.

Create WordPress Database

Creating a new database takes seconds.

You will receive confirmation that your database has been created. You will also see it listed in the database tree in the column at the left hand side of the page.

WordPress Database Created

Confirmation of your new database being created.

You may have noticed that we have not created a database user and password. We don’t actually have to complete this step as we can use root for our database username and leave the password field blank.

It is also worth noting that your database name is not case sensitive. Therefore, in the example above, when I install WordPress, I could enter WordPress-Test, or wordpress-test, as the database name.

Extracting Your WordPress Files

Once you have created your database, you should download WordPress to your computer. Extract the WordPress folder to the htdocs directory within your XAMPP installation directory i.e. C:\xampp\htdocs\.

You can rename the WordPress folder anything you like. For example, you could rename the folder test, blog, or my-website. It is really up to you. When I tested XAMPP,

Installing WordPress Using XAMPP

With WordPress copied to our htdocs directory and a database created for our website using phpMyAdmin, we can now install WordPress. As the WordPress installation folder is named WordPress, the WordPress website will be located at http://localhost:XX/wordpress/. For my installation, the URL is http://localhost:88/wordpress/. If you were to use port 80, you could access it directly at http://localhost/wordpress/.

When you load up your website at the address noted above, you will see a message stating that there is not a wp-config.php file.

Creating the WP-Config.php File

WordPress advises you to create a configuration file.

It does not matter which method you use, as they will both create a wp-config.php configuration file that will connect your WordPress core files to your WordPress database.

Be prepared with your WordPress connection information

WordPress reminds you to have your database information ready for creating the wp-config.php file.

Creating the wp-config.php file through the installer is easy. The installer also verifies that your connection details are entered correctly.

There are five fields to complete. The database name is the name of the database you created through phpMyAdmin earlier. If you recall, I named my database WordPress-Test (I can also enter this in lowercase). You should enter root as your database username and leave the password field blank.

Leave the database host field as localhost. The last field is the prefix you want to add to your WordPress database tables. The default value is wp_. From a security point of view, it is normally better to change this value to make it more difficult for hackers to access your website. However, as your website will only be accessible locally on your computer, I do not believe there is a high risk of this occurring; therefore, I do not think there is any harm with keeping wp_ as the database table prefix.

Enter your WordPress connection details

Enter your WordPress database connection details

If your connection details were correct, you will then see a page advising you to run the WordPress installer. At this point, your WordPress installation directory will have a wp-config.php configuration file with the correct connection details.

Your wp-config file has been created

You will see this page if your connection details were correct.

Once the wp-config.php configuration file has been created, you can install WordPress. You have to enter website details such as the site title, your administrator username and password, and your email address.

Installing WordPress

The installation process for WordPress is short and sweet.

The next page confirms that WordPress has been installed and displays a button to log in to your newly created website.

You have now installed WordPress

WordPress has now been installed.

Next, log in to your new website using the username and password you just defined.

Login to WordPress
That’s all Enjoy wordpress now

36 thoughts on “How to install wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Hey! I know this is kind of off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having problems finding one? Thanks a lot!

  2. I think this is among the most significant info for me. And i’m glad reading your article. But wanna remark on few general things, The website style is great, the articles is really excellent : D. Good job, cheers

  3. Nice post. I was checking continuously this blog and I am impressed! Very useful info specifically the last part 🙂 I care for such info a lot. I was looking for this particular information for a long time. Thank you and good luck.

  4. Magnificent beat ! I wish to apprentice while you amend your web site, how could i subscribe for a blog site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  5. hello there and thank you for your info – I have certainly picked up anything new from right here. I did however expertise several technical issues using this site, since I experienced to reload the web site many times previous to I could get it to load correctly. I had been wondering if your web hosting is OK? Not that I’m complaining, but sluggish loading instances times will sometimes affect your placement in google and could damage your quality score if advertising and marketing with Adwords. Anyway I am adding this RSS to my email and can look out for much more of your respective exciting content. Ensure that you update this again soon..

  6. I do trust all the ideas you have presented on your post. They are very convincing and can definitely work. Nonetheless, the posts are very brief for newbies. May just you please prolong them a little from subsequent time? Thank you for the post.

  7. I discovered your blog site on google and check just a few of your early posts. Proceed to maintain up the excellent operate. I just extra up your RSS feed to my MSN Information Reader. Seeking forward to reading more from you in a while!…

  8. I used to be suggested this website by my cousin. I am not certain whether this post is written by means of him as no one else realize such exact approximately my difficulty. You are incredible! Thank you!

  9. I think this is among the most vital info for me. And i am glad reading your article. But wanna remark on some general things, The web site style is great, the articles is really great : D. Good job, cheers

  10. Thanks for the good writeup. It if truth be told was a entertainment account it. Glance advanced to far delivered agreeable from you! However, how could we keep up a correspondence?

  11. Thank you, I’ve recently been looking for info approximately this subject for ages and yours is the greatest I’ve found out so far. But, what in regards to the conclusion? Are you certain in regards to the supply?

  12. I was very pleased to search out this net-site.I wanted to thanks to your time for this excellent learn!! I positively enjoying every little little bit of it and I have you bookmarked to take a look at new stuff you weblog post.

  13. I used to be recommended this website via my cousin. I’m now not positive whether or not this post is written via him as no one else recognize such designated about my problem. You’re amazing! Thanks!

  14. I am extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it is rare to see a great blog like this one these days..

  15. I was just looking for this information for some time. After 6 hours of continuous Googleing, finally I got it in your site. I wonder what’s the lack of Google strategy that don’t rank this type of informative sites in top of the list. Usually the top web sites are full of garbage.

  16. Simply want to say your article is as amazing. The clarity in your post is simply spectacular and i could assume you are an expert on this subject. Well with your permission allow me to grab your feed to keep updated with forthcoming post. Thanks a million and please continue the enjoyable work.

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.