MainWP Blog

Which WordPress Core Files are Safe to Delete
Tips & Tricks
Sebastian Moran

Which WordPress Core Files are Safe to Delete

When installed, WordPress will add a number of files which can be safely deleted on any of your child sites. The first of those files is readme.html, which is an information HTML file as part of the famous 5-minute install of WordPress manually. The second of those files is wp-config-sample.php, which is an example of the wp-config.php file, which contains all the site’s database credentials and its salts, along with any constants being used. Remember not to delete the wp-config.php file in the html folder of your site server. This will cause the site not to load, as the database

Looking for something?