How To Find The WP-Config.PHP WordPress Config File


How To Find The WP-Config.PHP WordPress Config File

Let me tell you that the WordPress configuration file, named ‘wp-config is the most important file, because it stores the information required to control your database and access to your blog as well. The great news is that WordPress offers an automatic process installation so all users can install the files and manage their blog.

The bad news is that if the automatic installation fails, or the user has to move to a new server or database, the only thing you have to do is to open the configuration file and modify it yourself. You will find the file ‘wp-admin’ in the main WordPress directory, but it may differ from user to user, depending on how they installed WordPress.

  1. Go to the taskbar and click on the Windows Explorer.

  2. Open the directory WordPress by double clicking the file folder. Go down to find ‘wp-config’php. You will find only what the user downloaded from the Web server after WordPress was installed. If you cannot find it, simply use the file ‘wp-config-sample.php’ to create one.

  3. Now you have to contact your Web hosting company to find the name of the database where you will find the user name and password and also the name of the server. If you want to find info regarding your Web hosting control panel go to the ‘Databases’ section.

  4. Use a text editor to open ‘wp-config-sample.php’. Now fill up your database name, username, password, and host name.

  5. Now go to your browser and open the link found under ‘Authentication Unique Keys and Salts’. Copy the text from the browser window and then click on ‘Copy’.

  6. Now go back to the text editor. Select the text that begins with┬ádefine(‘AUTH_KEY’.”. Now replace this information with the previous copied info.

  7. Go to File => Save As => Type ‘wp-config.php’ => Save to save the new ‘wp-config.php’ file.

Tags: file, find, wordpress, name, user, database, text, open, save, server, automatic, info, installed, news, directory, click, browser, editor, only, installation, blog, configuration, hosting, information, password, wpconfigphp, wpconfigsamplephp, control, contact, create