ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact
Home / Editorial / Create and delete WordPress sites in XAMPP with a simple batch file

Create and delete WordPress sites in XAMPP with a simple batch file

By Chad Butler

Do you do development work on plugins or themes, or just WordPress in general and find yourself with the need to create new WP sites locally on a frequent basis? Are you using XAMPP for that purpose?

If so, here are some simple batch files you can use to automate the process.

The first one will create a new WP site – it will create the database, the db user, install WordPress core files, create the wp-config.php, and run the WP setup creating an initial admin user account.

The second one is for destroying the site if you no longer need it. It will remove the db user and the database, and then delete all of the files and the directory.

Of course, this assumes you’re using XAMPP for this purpose, but a lot of people do, so if you’re one of them, then this may be helpful.

The batch files and instructions are over on my site dedicated to WP development: wpbitz.com.

Enjoyed this article?

Don't miss a single post. Subscribe to our RSS feed!

  • Facebook
  • Twitter
  • Email
  • Print
  • More
  • LinkedIn
  • Reddit
  • Tumblr
  • Pocket
  • Pinterest

Filed Under: Editorial

About Chad Butler

Chad Butler is a freelance writer and web developer. He has developed several popular WordPress plugins and has written for forbes.com, sfomag.com, and investopedia.com. He also runs a small organic farm in east Georgia.

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • Leveraging Content Marketing to Give Your Small Business an Edge in Today’s Digital Marketplace
  • Simple Tactics for Protecting Your Small Business Against a Recession
  • Create and delete WordPress sites in XAMPP with a simple batch file
  • Proofy.io Email Validation
  • 11 Ways to Handle Your Company’s Marketing Solo
  • 3 Best Online Courses to Improve your Digital Marketing Skills
  • Full Site Editing – the Future of WordPress?
  • The Right Product at the Right Time
  • Top 3 Time Wasters Keeping You From Success
  • Top 8 Tips to Create Your Own Website Easily With WordPress

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2023 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.