Installing WordPress On Local Server Using XAMPP
First of all, you have to create a database to install WordPress. To do that, get back to the XAMPP control panel. Click on the ‘Admin’ link in the MySQL section. This will take you to the phpMyAdmin page.
You can also get to this page by entering the following URL into your browser –http://localhost/phpmyadmin/
Right under the big ‘Databases’ title, you will find a section titled ‘Create database’. Provide the database name and click ‘Create’. This will create the database for you. Note down the database name, we will need it for installing WordPress.
Installing WordPress on XAMP
To install WordPress on XAMP, Download the latest version of WordPress from the official site. Extract the zipped archive to your desktop. Open the folder where you have installed XAMPP. Locate the folder titled ‘htdocs’. Copy the extracted WordPress folder into the htdocs folder. If you haven’t changed the default installation settings, the htdocs folder should be located at the following address –
In your browser, open the following URL – http://localhost/wordpress/
In the resulting screen, you will be asked to select the language. Choose your preferred language and click‘Continue’.
In the next screen, you will be told that some information is needed for installing WordPress. These are the things we will need –
- Database Name
- Database Username
- Database Password
- Database Host
You might not know all the information. Don’t worry, I will provide you with the necessary information. Click the ‘Let’s go!’ button at the bottom.
At this point, you should be on this page –
Provide the following information in the boxes –
Database Name: Write the name of the database you created a while back.
User Name: root
Password: Don’t put anything in this field. Clear any default text and leave it empty.
Database Host: localhost
Table Prefix: wp_
Once you have provided the necessary information, click ‘Submit’. On the next page, click the ‘Run the install’ button. You will be taken to a page like the following –
In the ‘Site Title’ field, provide the title of your test site. Then, the ‘Username’ and ‘Password’ fields will let you create an admin account for your site. As you will need this information to log into your website, save or memorize these.
In the ‘Your E-mail’ field, provide an email address. Lastly, the ‘Privacy’ could be used to hide the site from search engines. After making the necessary changes, click ‘Install WordPress‘. If everything is okay, you will be provided with a success page. Click the ‘Log In’ button at the bottom.
This will take you to the login page of your website. Provide the username and password you just provided and click ‘Log In’. If they are correct, you will be taken to the admin dashboard of your WordPress site.
If you can view the dashboard, then WordPress is successfully installed.