How To Install WordPress On Localhost WAMP
Last Updated : Jan 17, 2023
IN - WordPress
In this article we will show you the solution of how to install WordPress on localhost WAMP, you can literally refer to your own computer as a localhost.
The software simulates the internet in your computer using a number of different methods. When configured properly, WAMP or programs like it can be used on your computer as a true website.
Through the loopback network interface, the localhost enables access to network services, such as directories, databases, email, files, and printers.
Step By Step Guide On How To Install WordPress On Localhost WAMP :-
- It is required that you install WAMP on your Windows computer in order to create your local web server.
- Installing WordPress on your computer, acting as localhost, and configuring your own website without needing a web host is an easy process with WAMP, or WAMPSERVER. WAMP must be downloaded and installed locally on the computer, Visit the WAMP website.
- During the download process, you'll notice two versions. There are two versions of WAMPSERVER, one for Windows 64-bit systems and the other for Windows 32-bit environments.
- Your computer's Control Panel > System and Security > System is the place to look for this.
- A default folder and drive for WAMP will be ‘C:/WAMP64’, as indicated above.
- Upon checking that everything is okay, click on ‘Install’.
- The above window will appear after successful installation. Finish by clicking 'Finish'.
- You would need to start the WAMPSERVER. What is the process for starting and stopping services? Click on the WAMPSERVER icon.
- You should check to see if the various services are running, such as Apache, PHP, and MySQL.
- Download and Install WordPress Onto Your Windows Computer
- You will be able to download the file ‘WordPress-5.5.3.zip’. Open the file and extract the contents.
- Here is an image showing how the file contents have been extracted to a folder called wordpress-5.5.3.
- The 'www' folder is located under WAMP. The 'wordpress' folder should be pasted into the 'www' directory.
- Creating the MySQL Database, You will now have to access ‘phpMyAdmin’.
- Wampserver icon and you will notice ‘phpMyAdmin’. Click on that. The other option is to type ‘http://localhost/phpmyadmin’ in the web browser.
- Enter the ‘Username’ as ‘root’ and keep the ‘Password’ blank. Select 'Go' from the menu. In the 'phpMyAdmin' dashboard, you will be able to manage your database.
- The 'Databases' tab at the top lets you create a new database. Click on 'Create' and enter your database name.
- My database is called 'wpastra', for example. Now that the database has been created, head back to the WordPress installation page and click on ‘Let’s go!’.
- To begin, enter the name of the database you just created under ‘Database Name’. As for the ‘Username’, enter the same as ‘root’. And the ‘Password’ field can be left empty. Leave the remaining two fields, i.e., ‘Database Host’ and ‘Table Prefix’, as the default values. Which are ‘localhost’ and ‘wp’ respectively. Once completed, click on ‘Submit’.
- Please enter the 'Site Title', the 'Username', the 'Password', and 'Your Email'. And then, click on ‘Install WordPress’.
- Click on ‘Log In’ once the installation has been completed successfully.
- Enter the username and password you just created.
- Great! You are on the WordPress dashboard. You have installed WordPress on your Windows computer using WAMP. You can access your website by entering in the URL, which for this example is ‘http://localhost/wpastra’.
- Go ahead, install your themes, the plugins, test the complete functionalities, and create your WordPress website on your Windows computer.
If you would like to install WordPress on your Windows computer and test its functionality before making the site live, it is a good practice to set up WordPress locally.
I hope this article on how to install WordPress on localhost WAMP helps you and the steps and method mentioned above are easy to follow and implement.