Support » Localhost Installs » Can I safely delete all localhost contents

  • Resolved Roy


    First time user, please excuse the beginner level questions. I developed my first site ever on localhost (using XAMPP) and successfully deployed to the web. My hosting provider does regular backups. In addition, I am also using the UpdraftPlus plugin to back up “everything” on demand (database and files and who knows whatever else).

    I have a two part question:

    (1) Given that I’m now live on the web, can someone in the know confirm that I could now safely delete my *local MySQL database? And all delete all my local files (I believe the path is c:\xampp\htdocs)? And for that matter, uninstall XAMPP entirely? I would assume the answer is yes, but I’m a newbie so don’t want to make potentially dangerous assumptions.

    (2) I may develop another site, and I may start by doing it locally again. I was thinking of doing what I asked in (1) above, and starting over with a clean XAMPP & local WordPress install. I have no idea if this is best practice or if there is a better recommended way. Would really appreciate some guidance here.

    Thank you 🙂

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • catacaustic


    For your local environment, you should be able to delete everything, but I would suggest that you make a backup before yu do. Just in case. One thing that I do try to live by is that you can never have enough backups!

    When that’s done, you can safely start on another site, doing things the same way that you’ve done this time. If you’re going to do this, keep XAMMP on your PC so you don’t need to install or set it up again.



    Personally, I would leave the current site as-is in XAMPP on your PC. Won’t do any harm there 🙂

    I have over 50 WP sites in my local XAMPP installation so if you do create another site, just create a new folder in htdocs and do as mentioned above … the same way you did your first site.

    Keep in mind you can have as many local sites as your hard drive has room for 🙂 There is no limit within XAMPP or the database.


    Thaks you both! 🙂

    That should have said “Thank you” lol

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I safely delete all localhost contents’ is closed to new replies.