Yes!WordPress is most famous CMS now a days. It is well-know for its ease of installation and variety of Plugins to enhance its functionality. If you want to install WordPress on a Domain than may be your host provides you the easy installation process. But if you want to create a website in WordPress weÂ recommends you to install it on your computerÂ then migrate your website to a Domain after testing. However if you wish to install WordPress on your computer this article will help you a lot.
What Do We Need?
1. Local Server environment ( XAMPP ):Â
WeÂ discuss XAMPP Installation in our previous lesson, in that lesson we also verifyÂ PHP and MySQL installation. If you don’t know how to install and configure XAMPP just read previous lesson. If you still have any problem or facing any kind of error regarding installation or configuration, don’t worry we are always here to help you. All you have to do is write down your problem in comment box or email us, we will get to you in a very short time.
2. WordPressÂ :
Download WordPress latest version fromÂ wordpress.org in Zip format.
Install WordPress in 5Â Steps:
To work with WordPress first you have to create a Database. Open your browser and type “localhost/phpmyadmin” in address bar and hit enter. A new page will be open with phpmyadmin interface.
In phpmyadmin interface Click on “Database” link. Enter database name in “Create new database” field and hit enter. In my case my databse name is “wp”. I will use this database to install WordPress on PC.
Now we are ready to installÂ WordPress. Copy the downloaded WordPress zip file and goto to My Computer openÂ C:/Program Files/XAMPP/htdocs folder. Paste Zip file here and unzip the wordPress-4.0.zip file.
UnZip WordPressÂ in htdocs folder and rename it if you want. I renamed it to “WP” and going to use WP throughout the lesson.
Open the WP folder, find the “wp-config-sample.php”Â file. Rename this file to “wp-config.php”Â now open this file in any code editor or in “notepad”.Â Scroll down to find following lines inÂ “wp-config.php”.
Add the login details for Database on these lines.
Replace “database_name_here” with the name of database you created in Step 1.
Replace “username_here” with “root” default user for database.
Replace “password_here” with nothing just leave it empty. see the image below.
Close the file after saving.Â After configuration now we can install WordPress in a very short time.
In your browser open this link “localhost/wp/”. You will see the Five Minutes WordPress Installation Screen.
Enter the Required information in the fields and your WordPress Installation is done. Congrats !! today you have successfully installed wordpress on your PC.
Step 5 (Last Step):
Login to your WordPress Site, OpenÂ “localhost/wp/wp-admin” in your Browser. Enter username and password for wordpress which you choose in “Step 4”. You will be redirected to WordPress Dashboard.
[box type=”shadow” align=”aligncenter” ]Now we have learn that “how to Install XAMPP on Windows” and “WordPress Installation on PC” In the Next Lesson I will teach you how to Install WordPress Theme. If you have any Question or problem please comment below or contact us via Facebook, twitter, Google Plus or send us an email. We will get back to you ASAP.[/box]