Skip to main content

How to install WodPress on localhost


To install WordPress on a localhost, we will go through following steps 

(I) Install local server environment

(II) Download and extract WordPress files

(III) Create a database and user for WordPress

(IV) Run the WordPress installation script

(V) Complete the installation process

(VI) Access the WordPress site on localhost

(I) INSTALL LOCAL SERVER ENVIRONMENT

Install a local server environment on your computer. There are several options you can use, such as WAMP (Windows), LAMP (Linux), or MAMP (Mac). These programs will install Apache, PHP, and MySQL on your machine, which are required to run WordPress.

(II) Download and extract WordPress files

Download WordPress from wordpress.org and extract the files to a local folder.

(III) Create a database and user for WordPress

Create a new database and user for WordPress. You can do this using the MySQL command line or a tool like PHPMyAdmin, which is usually included with your local server environment.

(IV) RUN THE WORDPRESS INSTALLATION SCRIPT

Open the WordPress installation script in your web browser by going to http://localhost/path/to/wordpress/wp-admin/install.php. Follow the prompts to complete the installation process, including setting up your site title, username, password, and email address.

(v) COMPLETE THE INSTALLATION 

Once the installation is complete, you can access your WordPress site by going to http://localhost/path/to/wordpress/ in your web browser.

(VI) ACCESS WORDPRESS WEBSITE ON LOCALHOST

Now go to http://localhost/pathtowordpress and press enter, you will see the website 


Comments