Professional, No Monthly Fees, No Third Party Ads, Advanced Personalization, Confirmed Opt-in, Broadcast, HTML Form Generator, & much more.
Newsletter
Subscribe to our newsletter and get all of the latest tips and tricks sent directly to your email! Get a Free Gift!
Name
E-Mail
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to our RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!
Oct
21

Step 5: Configure the wp-config.php file

MiloUncategorized

The self-hosted WordPress package comes with a wp-config-sample.php file. It need to be configured with a text editor and save as wp-config.php.

These are the 4 lines in the file that need to be configured:

define(‘DB_NAME’, ‘putyourdbnamehere’);    // The name of the database
define(‘DB_USER’, ‘usernamehere’);     // Your MySQL username
define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password
define(‘DB_HOST’, ‘localhost’);    // 99% chance you won’t need to change this value

Don’t be fooled by the comment “99% chance …”. I had a hell of a time getting WordPress running by leaving the “DB_Host” as “localhost”. Ascertain it.

In my previous post in step 4, I mentioned you need to take note of, database name, user name, password and host name. Insert them into the file. The final wp-config.php file should look something like this:

define(‘DB_NAME’, ‘blogname’);    // The name of the database
define(‘DB_USER’, ‘blogname’);     // Your MySQL username
define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password
define(‘DB_HOST’, ‘h40mysql52.secureserver.net’);    // 99% chance you won’t need to change this value

Next … FTP the entire files to the web server.

Add A Comment

Google