ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact

Archives for November 2022

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.

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

Filed Under: Editorial

Join Us!

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

Recent Posts:

  • YouTube Success: Key Tips for Enhancing Video Optimization and Visibility
  • Mobile App vs. Mobile Website Ideal Choice for your Business
  • Top Strategies to Boost Your Brand’s Visibility and Impact
  • Advanced Blogging Strategies: Using Analytics, A/B Testing, and Conversion Optimization Techniques to Grow Your Audience
  • Unlock Real-Time Process Insights to Save Time and Money
  • How Writers Can Attract More Audience Attention
  • Dress for Success – Even at Home
  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity
  • Creating Engaging Content: Tips for a Successful Content Marketing Strategy

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-2025 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.