Yes, you can safely delete that file. It’s a template of what a minimal wp-config.php
looks like, so as soon as you have a working wp-config, you don’t need it.
It will never be restored unless you reinstall WordPress from scratch, e.g. by downloading and unpacking a clean WordPress installation.
If for some reason you need to refer to it in the future, then you can easily get it again by downloading WordPress and pulling it out of the archive, although it’s highly likely that you’ll only need it for a new manual WordPress install.
Related Posts:
- Why is WordPress upgrade process not using WP_TEMP_DIR?
- wp-config.php file permissions
- Change default wordpress FS owner
- Best practice for versioning wp-config.php?
- Password in wp-config. Dangerous?
- Creating directory in uploads – wp_mkdir_p() or WP_Filesystem?
- What’s the difference between WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT?
- Turn Off Automatic Trash Deletion?
- How can I change preview URL?
- Override the wp_siteurl and wp_home not work
- Changing WP_CONTENT_DIR and WP_CONTENT_URL in wp-config.php does not register?
- Missing a temporary folder despite settings in wp-config.php
- How to use live images on local install?
- Syntax of FS_CHMOD_DIR and FS_CHMOD_FILE
- WordPress PHP error handling and reporting in production environment
- Declaratively Configuring WordPress in XML or JSON or YAML
- WP_MEMORY_LIMIT didn’t work in wp-config
- Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes)
- Convenient way to use wp_filesystem
- How to set up gmail SMTP in WordPress
- error:-Cannot modify header information – headers already sent by
- Moving wp-content outside of web root?
- $wp_filesystem returns NULL. What are the dependencies?
- Changing HTTP URL Port
- How do I edit the php/html for a particular post?
- Setting wp_temp_dir and permissions not working for “Missing A Temporary Folder” error
- How to update WordPress from the latest trunk
- how to use is_admin in wp-config.php
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- Set wp-content folder to Dropbox folder
- Including a 3rd party library in WordPress which needs to be accessible by wp-config
- wp-config.php being deleted
- Get WP CLI to hide debug warnings and notices in JSON output, same setting as website
- Installation Issue WordPress locally – The file ‘wp-config.php’ already exists
- What is this file: wp-config-wpe.php?
- What is the best way to move a plugin´s subdirectory+files to wp-content/uploads-directory?
- Relative file paths in CSS when linking directly (not enqueuing)
- enable SFTP via SSH keys in wordpress
- html lang=”” instead of lang=”en-us” – why?
- Converting fopen/fwrite operations to WP_filesystem
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?
- How to check if txt file exists inside template folder?
- Creating the wp-config.php file manually
- What Does this Code Snippet Do?
- WP_Debug not displaying anything
- How to reliably set file/folder permissions?
- Multiple wp-config.php files in one home directory
- Why edits to wp-config.php must come before “That’s all” comment
- error log cluttered with undefined DB_USER wp-admin/setup-config.php
- Is it possible to override the ABSPATH constant
- How to stop fatal error when loading theme template file directly
- Should I change wp-config for SSL?
- How to block access to files without modifying .htaccess or ngnix config? [closed]
- Out of memory errors : how best to track them down
- Redefine cookie domain for subdomains
- multiple language directories
- Error in database connection [closed]
- Update wp-config.php and lost pages
- Conflict with wp_homeurl, wp_siteurl and admin interface settings
- What dependencies should I load and to use the WP_Filesystem?
- error messages in dashboard login
- How to replace file_get_contents() with a WordPress Filesystem call
- where should I write constants in wordpress?
- Issues copying site into local machine
- Autosave interval remains default despite wp-config.php defines
- Carriage Return control character (^M) found in wp-config-sample.php
- Are the wordpress settings (abspath, disable core updates) added by SiteGround of any use after I’ve migrated to a different host?
- Need help fixing my wp-config file [closed]
- Why was my new WordPress installation’s config page publicly viewable when first installed?
- WP_MEMORY_LIMIT didn’t work in wp-config, only within default-constants.php
- Running rmdir function on post save
- Cookie set without HttpOnly flag
- WordPress Creates Unused (Unregistered) Image Sizes
- Changing the wp-config.php broke the site
- Publishing WordPress from stage to production server
- Define option outside wp-config.php (on WordPress.com)
- Site lost all formatting when I attempted to migrate to Bluehost [closed]
- Moving wp-config.php one level up – 500 error – Nginx [closed]
- How can I configure an SMTP Server?
- What should index.php contain on Synology NAS to get external access to WordPress to work?
- Remote server does not read `WP_HOME` from wp-config.php when local server does
- IP addresses to block to stop WP auto-update?
- Concerns over wp-config file [closed]
- Right way to download file from source to destination
- Not showing old migrated content in website
- How to rename the wp-config.php file once under version control?
- Read wp-config without loading the rest of WordPress – i.e. wp-settings, etc
- Proper way to have multiple installs with a single database
- How turn on error reporting without reset?
- WordPress installed on a Sub-directory
- Editing wp-config.php file asks for another installation
- $post->id vs $post->ID problem after using WordPress config bootstrap
- ABSPATH not defined?
- How to prevent users to view server files using WP File Manager plugin?
- How to stage a redesigned site on a new webhost while the original site is still live? [closed]
- WordPress login redirection not working on Nginx root directory
- temphangle variable missing when using wp_filesystem copy
- Plesk login inaccessible after changing site URL
- Need help re-connecting local WP-config file to local database
- Change of “home” results in timeouts (only on index.php)