WP Config Generator
<?php /** * The base configuration for WordPress * * @package WordPress * @generator yourblogcoach.com */ /* Database connection */ define( 'DB_NAME', 'your_database_name' ); define( 'DB_USER', 'your_database_user' ); define( 'DB_PASSWORD', 'localhost' ); define( 'DB_HOST', 'localhost' ); define( 'DB_CHARSET', 'utf8mb4' ); define( 'DB_COLLATE', 'utf8mb4_general_ci' ); /* Database Tables */ $table_prefix = 'wp_'; /* Authentication Keys and Salts */ define( 'AUTH_KEY', 'put your unique phrase here' ); define( 'SECURE_AUTH_KEY', 'put your unique phrase here' ); define( 'LOGGED_IN_KEY', 'put your unique phrase here' ); define( 'NONCE_KEY', 'put your unique phrase here' ); define( 'AUTH_SALT', 'put your unique phrase here' ); define( 'SECURE_AUTH_SALT', 'put your unique phrase here' ); define( 'LOGGED_IN_SALT', 'put your unique phrase here' ); define( 'NONCE_SALT', 'put your unique phrase here' ); /* Absolute path to the WordPress directory */ define( 'ABSPATH', dirname( __FILE__ ) . '/' ); /* Sets up WordPress vars and included files */ require_once( ABSPATH . 'wp-settings.php' ); ?>
What is wp-config.php file?
The wp-config.php
file is one of the main file of wordpress core. And it's not come with default download package. When you install the wordpress then this wp-config.php
file generate from the wp-config-sample.php
file.
This file has information about authentication keys & salts and other settings constant. It also has details about the database name, host, username, password which allow wordpress to intereact with database to store the values and get the values.
What is WP Config Generator?
WP Config Generator is a free online tool to generate the wp-config.php
file code for your wordpress website.
You can use this tool if you want to make some changes in your wp-config.php
file but you don't know that line of code, so simply select that option and then copy the code from result area and use it in your site.
Note: This site does not store any type of data, password or other sensitive data, so that you can safely fill in your information.
How to use WP Config Generator?
To use this tool, you simply need to select corresponding tab and fill the required fields and then click on the "Generate" button.
Follow the below steps:
- Select the tab one by one
- Fill the required fields. Some of fields have default values but you can change them as per your need.
- Click on the "Generate" button
- Generated code will shown in the result area and you can copy the code and use it.
- To generate new file code click on the "Refresh" button,