Go to GoReading for breaking news, videos, and the latest top stories in world news, business, politics, health and pop culture.

How to Update WP-Config

104 2
    • 1). Download the WP-Config.php file using an FTP program such as: FileZilla, SmartFTP or WS-FTP.

    • 2). Install and configure your FTP program. Go to the section in your FTP program for establishing a new FTP connection and enter your "FTP web address," "FTP file path,""FTP user name," and "FTP password."

    • 3). Click "Connect" to establish a connection. Most FTP programs normally show your remote files on the right pane of the FTP program and your local computer files on the left pane of the FTP program.

    • 4). Navigate to your "www" or "public_html" folder on the remote server. Look for your WordPress sources files in that folder. Find the "wp-config.php" file. Download it to your local drive.

    • 5). Open and edit the "wp-config.php" file using a program such as NotePad or any text editing program you have on your computer.

      Example syntax of WP-Config file:

      define('DB_NAME', 'database_name_here');

      MySQL database username

      define('DB_USER', 'username_here');

      MySQL database password

      define('DB_PASSWORD', 'password_here');

      MySQL hostname

      define('DB_HOST', 'localhost');

      Database Charset to use in creating database tables.

      define('DB_CHARSET', 'utf8');

      The Database Collate type. Don't change this if in doubt.

      define('DB_COLLATE', '');

    • 6). Finish updating the file and then save it as "WP-Config.php" just like before and upload it back on the remote server using FTP.

Source...

Leave A Reply

Your email address will not be published.