How to Install WordPress on localhost | XAMPP local Server

#wordpress erstellen –>


Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

Tutorial shows you, how to install WordPress on localhost using XAMPP local server. Create local web server and local WordPress website. Install WordPress locally with 5 easy steps.
WordPress Download:

XAMPP Download:

Notepad++ Download:

Subscribe To My Channel and Get More Great Tips:

Share this Video:


Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

Steps to install WordPress on XAMPP web server:
1. Assign a Static Local IP Address for your Server
2. XAMPP Installation
3. Test XAMPP Server with Your First PHP Script
4. Secure XAMPP Server (Set MySQL Root Password)
5. WordPress Installation

1. Assign a Static Local IP Address for your Server:

Open CMD (command prompt) and type: ipconfig /all
The windows command is used for displaying all current network configuration information
This is all info what you need IP Address, Subnet Mask, Default Gateway and DNS server
Right click on computer icon and Open Network and Sharing Center
Click on Change adapter settings
Right click on your local adapter, and click properties
Find and open Internet Protocol Version 4 (TCP/IPv4)
Select Use the following IP address, and enter your new IP address, Subnet mask, Default gateway, and DNS server, that corresponds with your network setup.

2. XAMPP Installation:

Recommendation: install XAMPP in default directory C:xammp

3. Test XAMPP Server with Your First PHP Script

Open XAMPP control panel
Start Apache server and Start MySQL server (If you get any error, feel free to ask me any question)
Open your web browser and type localhost, go to PHPInfo, If it shows you localhost/dashboard and PHPInfo page all is good.
Go to XAMPP root directory folder (htdocs) and delete index.php
Create a PHP file:
Create a file named index.php (Recommendation: use notepad ++) and put it in your web server’s root directory with the following script:

Download PHP script:

4. Secure XAMPP Server (Set MySQL Root Password)

Open your web browser and type localhost/phpmyadmin
Click on User accounts
Find account with user name “root” and host name “localhost”
Click Edit privileges
Then Change password
Type your password twice and hit Go
Then, when you try to access the page, you will get an error:
(Access denied for user ‘root’@’localhost’)
Go to C:xamppphpMyAdmin, open file (with text editor Notepad ++)
find line / Authentication type and info / and edit this two lines:

$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;
$cfg[‘Servers’][$i][‘password’] = ‘YourPasswordHere’;

Retry to connect

5. WordPress Installation

Unzip WordPress,
Go to root directory folder, and create a new folder for your local website
Move all WordPress files in your website folder
Go to localhost/phpmyadmin and Create MySQL Database for your WordPress website
Open the wp-config-sample.php file with notepad
Type your MySQL database name, user and password
Save file as wp-config.php
Open your web browser, and go to your website: localhost/
Choose language
Enter your details and click Install WordPress.

Related Videos:

How to Host a Website From Home For Free Using WordPress and XAMPP Web Server

MySQL Set Root Password – Secure XAMPP Server

How to host your own website from home-No money

How to install wordpress locally / Using XAMPP Server Step by Step Tutorial

Feel free to ask me any question!!!

Subscribe on YouTube Channel:
Find me on Facebook:
Follow me on Google Plus:
Follow me on Twitter:

This video-tutorial-attempt to answer all below questions:
how to install WordPress on localhost xampp?
how to install WordPress on xampp local server?
how to install WordPress on local server using xampp
How to install Xampp Server
How to install WordPress
How to Secure XAMPP Server, (Set MySQL Root Password)
How to create MySQL database?
How to create wp-config.php file manually
How to Install WordPress Locally?




  1. Amazing video!!!! I was looking for such tutorial for a long time. Thanks!!! 😉

    if you will want install your wordpress than contact with me..i can do it quickly

  3. Thank you for this tutorial. It sure helped out a lot.

  4. At the time of wordpress setup nearly(16:34) mine is showing database error any solution.

  5. i can't find phpmyadmin folder and 403 error please guide me

  6. my god you explain very good ..i love how you explain my brother i am newbie and i learn from you a lot of…brother how we can activate contact email in xamp if we use the server and we host the site from our computer and publish it outside..? thanks brother again….

  7. Best video ever

  8. I sincerely lack words to describe your teaching skills, but let me just leave it simple, you are just a great master, thanks a million what ever you lay your hands upon shall turn to gold, though i have a little question how do i launch this great app offline? Thanks once again.

  9. thanks thanks thanks and amazing that after showing 5 video , I can learnt only from your tutorial .

  10. This tutorial really helps me,thank you so much

  11. Thanks for the amazing video.

    but I have one problem, localhost/ search URL can't open the WordPress admin. These two errors are required.

    Warning: require_once( failed to open stream: No such file or directory in C:xampphtdocswebsite.comindex.php on line 10

    Fatal error: require_once(): Failed opening required '' (include_path='C:xamppphpPEAR') in C:xampphtdocswebsite.comindex.php on line 10

    Please find my problem.

  12. Hi mmk, i have successfully installed wordpress in my system but the issue i'm having is how to open it, i'm pretty new into this if you don't mind, can i open it to practice building of website without internet access if so how, secondly if i try to access localhost/ to gain access to the login page this is the message i usually got
    "This site can’t be reached localhost refused to connect.
    Search Google for localhost website
    pls do this have anything to do with changing of my ip4, subnet mask, default and Dns server address? how do i solve this.
    Your reply means a lot to me, thanks for your time.

  13. thank you . really helped

  14. amazing man. Thanks for the hard work!

  15. Nice explanation !!

  16. Really helped me lots I almost watched 100+ videos but this video is only real n 100% useful, thank u so much

  17. Thank you.. Very helpfull!

  18. Thank u so much <3

  19. best tutorial thank you

  20. WordPress Customization Bangla Version:

  21. thanks dude 🙂

  22. Thanks for the clear step by step. I've watched a lot of videos trying to explain it but yours did the best. You may want to change the robo voice to something less monotone 🙂 cheers!

  23. I just finished installing wp and a big thanks to you. This is the best tutorial for this topic, right now I;m trying to find out how I will log in whenever I'd like to do some changes. You're the best!

  24. Thnx .. dude u r really amazing… U solved my problem…. Finally I installed WordPress…. …. … It's just because of you… Thanks again …. … …. God bless you…

  25. Thanks a lot! Only your video helped me!!!!

  26. बहुत बडे़ झड़ हो

  27. Thank you Thank you Thank you Thank you…. This is the only video who has solve my queries without getting any errors.

  28. Thank you for your very nice tutorial that I solved my problem.

  29. Great video mate, very helpful.

  30. Hey, that is really a great video! Thank you a lot! I have a question – is it nesesery to set a static IP, i am working on a laptop and my internet acces is through WIFI? Thanks!

  31. VERY Helpful, thank you for the calm pace and very clear instructions. Thank you! 🙂

  32. u r the best bro

Comments are closed.