How to set up a WordPress website with XAMPP on Windows 10


Very sketchy company… stay far away! – I used their services years ago when I was in school, and just recently, several years after my account was cancelled, long dead and gone, they managed to charge almost $400 to my credit card, which wasn’t even the same card I had signed up with. How they pulled that off I do not know. Hopefully my bank can make sure it doesn’t happen again, and hopefully this review can make sure they don’t get their sticky little hands on your credit card! Sonny Brittle, Richmond, VA, stpaulbio.com & stpaulbio.org


This video will show how to set up a local WordPress website on Windows 10 using XAMPP.

XAMPP is a free software that includes many important options for hosting a website, including Apache and MySQL (now MariaDB). It can be downloaded from:

https://www.apachefriends.org/index.html

After downloading, just run the installer and make sure to leave the Apache, MySQL, PHP, Perl, and phpmyadmin options selected, and then leave everything else as default. You may want to change the default installation path from C: xampp to something else, but it is suggested that you avoid installing to the program files folder to avoid UAC (User Account Control) triggers.

Once it’s installed, open the control panel and start the Apache and MySQL services. You can now see an active webserver at localhost, or the IP Address 127.0.0.1 (local IP Address).

Now you will need to download WordPress itself. You can download a zip of the newest version at:

http://www.wordpress.org

Once it is downloaded, right click and extract all. Then copy the WordPress folder, and paste into the XAMPP installation, in the htdocs folder. This folder is what is served up to the web browser. So by default it brings you to the dashboard folder. To access WordPress after you paste it into the folder, in your web browser go to http://localhost/wordpress Feel free to change the name of the wordpress folder to access it at a different address.

Now it will ask for a database, database username, and database password. This is something you will need to create in phpmyadmin. To do this, head to http://localhost/phpmyadmin

Once here, click on the new option on the left to create a new database. Give it a relevant name, something different preferably than just wordpress. Then choose the Collation, which is utf8_general_ci

After the database is created, click on it on the left and choose the privileges tab. Here you can create a user that has privileges to add data to the database, which is how WordPress will access the database and store data.

Again it is recommended to choose a relevant username here, and a strong password. The hostname should also be changed to localhost, as this is a local install. Then hit the go button at the bottom.

If you get an error stating Show Plugins soname like ‘%_password_check%’ then it’s easy to fix. Just go to your xampp folder, and then the mysql folder inside. Here, right click and create a new folder, and name it lib. Then go in the newly created lib folder and create another folder, called plugin. You should now be able to create a new user just fine.

Once the user is created, go to http://localhost/wordpress and input the new database you created, and the user info.

The next information WordPress will ask for is the site title, and a user to login to WordPress. I would suggest something different than just administrator, and to use a strong password. At this point your wordpress installation is ready to use.

Check out my facebook at: https://www.facebook.com/pages/All-How-2s/198429346974010

or my twitter: https://twitter.com/AllHow2s

Or my website where I have a lot of other great tutorials (such as how to take a screenshot, or how to get the start button back on Windows 8): http://www.allhow2s.com

howtwos101

50 Comments
  • sadia kanwal
    Posted at 13:19h, 28 November

    This is amazing one toturial it helps me alot !!!! thanks

  • Dog Training In Your Home
    Posted at 02:43h, 06 December

    Great tutorial, thanks so much for the information! Unfortunately, I tried another step-by-step process and I was able to create the local host page, and log into WordPress…but once I log in it doesn't take me to the dashboard area. It just shows the default WP theme and the WP bar across the top. Any suggestions?

    The directions I used did NOT have this part from your tutorial: Then choose the Collation, which is utf8_general_ci

    After the database is created, click on it on the left and choose the privileges tab. Here you can create a user that has privileges to add data to the database, which is how WordPress will access the database and store data.

    So, I am wondering if that is the issue? If so, how can I go back and fix it? Any help would be greatly appreciated! Thanks!

  • Jake Roberts
    Posted at 00:45h, 15 December

    my "sequel" to a movie

  • Vinay Kumar
    Posted at 10:37h, 20 December

    Thank you. nice explenation

  • Muhammad Abadullah Qayyum
    Posted at 17:48h, 02 January

    Its nice but you can tell us how to make website public.

  • Amit Saxena
    Posted at 16:21h, 03 January

    Thousand of thanks.. I am grateful to you because you have provide such a splendid tutorial step by step to install xmapp on windows 10. I watched a lots of video and failed again and again but after watch this video I installed it successfully . So I am very happy to get such tutorial.. You have done awesome job !! Keep it up..

  • Thawdar Zin
    Posted at 21:59h, 07 January

    Hi my localhost still leads me to Internet Information services.
    please help

  • Lessons At Startup
    Posted at 07:25h, 09 January

    WordPress is the key to success for any online business these days. Afterall they are so user-friendly and any new user can come and learn in a very short period of time. Its that simple!
    Nice video. Great Content. keep uploading.

  • Nate Mckim
    Posted at 17:49h, 28 January

    Thanks for not explaining what to do if there’s an error >:(

  • Darren Ayre
    Posted at 13:20h, 02 February

    Awesome tutorial Thanks mate

  • Thawdar Zin
    Posted at 19:08h, 02 February

    What are those privileges? Are they important to check all? I cannot find any information about those privileges.

  • Darren Ayre
    Posted at 11:30h, 04 February

    Any chance you've done a tut on uploading a live website to localhost? Been trying to migrate my live site to localhost with absolutely no luck.

  • Slainiae
    Posted at 12:12h, 14 February

    Thank you for that great video.
    As mentioned a few times below; could you do a video to show how one can bring that locally built website from the test environment to a live environment by transferring it to, say, Hostgator?

  • KayG.
    Posted at 12:46h, 17 February

    Great tutorial! Thank you!

  • Robert Stefan
    Posted at 17:29h, 18 February

    Great tutorial, very helpful! Thank you! 😀

  • Oneal Abraham
    Posted at 05:22h, 16 March

    Very helpful! Thanks!

  • Sayantan Biswas
    Posted at 05:18h, 24 March

    gr8 job.. thanks

  • Carmen Pacheco
    Posted at 01:35h, 11 April

    Hi great tutorial, I have a question, I did not get where I have to go if I get log out? can you explain? thanks

  • Jay Lewis
    Posted at 17:40h, 14 April

    Success! Thank you!

  • Lois Hunt
    Posted at 14:29h, 17 April

    Great tutorial, thanks.

  • Akanshaman Rana
    Posted at 14:23h, 20 April

    hello sir
    my localhost is not support the wordpress it show an errror

  • okosun ose
    Posted at 22:26h, 20 April

    great video tutorial. i need a complete tutor on how to build a school portal website with accounting software

  • Software Prodigy Solutions
    Posted at 21:22h, 01 May

    Hello guys, you may check this other method on how to get free .co.nf domains.



    I hope you guys find it useful.

  • Sasa Crnogorac
    Posted at 11:00h, 08 May

    good video, step by step..thx…

  • Matt Daniel Daep
    Posted at 18:23h, 10 May

    Cool Video man! REALLY dope!

    >>>>>>>>>>>>>>>QUESTION<<<<<<<<<<<<<<<<<<<

    "Sorry, you are not allowed to access this page." SHOWS up after typing in localhost/wordpress/wp-admin…..

    Thanks Bro

    How do you fix this man?

  • waymond smith
    Posted at 00:36h, 11 May

    Thank you, thank you, thank you!!!

  • Mohanachuth Varma
    Posted at 04:43h, 13 May

    apache not working showing api.ms.crt.runtime.dlll missing

  • NAVID ANJUM BSSE
    Posted at 17:21h, 13 May

    nice

  • Youssif Mahmoud
    Posted at 15:14h, 21 May

    I have apache , MYSQL running .. but everytime I type the localhost/wordpress to get back to the site it give me Server Error and Error 500 what is the problem ?

  • M Haşimi
    Posted at 22:21h, 24 May

    very good thank you 😀 and i hope to give an other lesson about publishing the site from xampp to domain
    i hope you can understand me and sorry to my bad english 😀

  • Cata strophic
    Posted at 23:54h, 03 June

    Big help thank you very much keep up the fine videos !

  • Meerim Akmatova
    Posted at 12:52h, 16 June

    Thank you so much it was very helpful

  • ★ glitcher32 ★
    Posted at 20:57h, 16 June

    Can't login to the wordpress, neither can I reset the password (even though I know its correct.) It just says "ERROR: Invalid username or email."

  • adam akangbe
    Posted at 08:27h, 18 June

    Great tutorial. Thank you

  • Jean-Pierre Roux
    Posted at 17:09h, 07 July

    Good tutorial, thx. This might be a silly question but how do I set it up that I can work on multiple client wordpress sites? How will I reference these files in the folder structure? I guess I will have to create multiple db's to reference the multiple clients?

  • TRENDY COINZ
    Posted at 10:15h, 09 July

    nice tutorial still helpful for 2018

  • Mister Westbam
    Posted at 00:11h, 10 July

    Amazing tut, many thanks, easy to follow, not feeling lost now :)!!

  • Harvey Yates
    Posted at 18:40h, 16 July

    Very clear and concise. After downloading both xampp and WP, I was up and running on local host within 25 minutes. Thanks very much for that. I'm using local host to test out themes and modifications to my online site.

  • Андрей Марсин
    Posted at 16:56h, 17 July

    http://localhost/wordpress – "Object not found!"

  • Omer Baig
    Posted at 11:22h, 18 July

    thank you so much

  • Matthew Whitten
    Posted at 19:03h, 20 July

    great tutorial. Worked like a charm. Thanks.

  • Chris Sims
    Posted at 06:57h, 01 August

    thanks

  • darkside ofthehost
    Posted at 18:23h, 02 August

    thank you

  • kabiru mohammed batari
    Posted at 19:43h, 05 August

    Thank you I learn alot

  • Digital Diary Random Walk
    Posted at 18:24h, 25 August

    thanks for this …it made it easy for me

  • Nefrett
    Posted at 01:45h, 09 September

    Thank you, extremely helpful.

  • Cata strophic
    Posted at 07:23h, 23 September

    NOPE ! Not that simple ! There is a whole lot more detailed work behind the scene to get a successful working platform .

  • busteryoutubr
    Posted at 14:28h, 27 September

    Thank you!

  • Jay Lewis
    Posted at 21:39h, 04 November

    Very much appreciated. Thank you!!!

  • aiimas_ii
    Posted at 16:18h, 16 December

    great video, thanks alot !