summaryrefslogtreecommitdiffstats
path: root/wp-config-sample.php
blob: 199da41c1e18d56293a2450312de2bcd557ea984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/* Don't try to create this file by hand. Read the README.txt and run the installer. */
// ** MySQL settings ** //

define('DB_NAME', 'wordpress');    // The name of the database

define('DB_USER', 'username');     // Your MySQL username

define('DB_PASSWORD', 'password'); // ...and password

define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('VHOST', 'VHOSTSETTING'); 
$base = 'BASE';

// Change each KEY to a different unique phrase.  You won't have to remember the phrases later,

// so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/

// to get keys generated for you, or just make something up.  Each key should have a different phrase.

define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

define('SECURE_AUTH_SALT', 'put your unique phrase here'); // Change this to a unique phrase.

define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

define('SECRET_KEY', 'put your unique phrase here'); // Change these to unique phrases.

define('SECRET_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');

// double check $base

if( $base == 'BASE' )
	die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
// You can have multiple installations in one database if you give each a unique prefix

$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!


// Change this to localize WordPress.  A corresponding MO file for the

// chosen language must be installed to wp-content/languages.

// For example, install de.mo to wp-content/languages and set WPLANG to 'de'

// to enable German language support.

define ('WPLANG', '');

// uncomment this to enable wp-content/sunrise.php support

//define( 'SUNRISE', 'on' );


// Uncomment and set this to a URL to redirect if a blog does not exist or is a 404 on the main blog. (Useful if signup is disabled)

// For example, browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );

// define( 'NOBLOGREDIRECT', '' );


define( "WP_USE_MULTIPLE_DB", false );

/* That's all, stop editing! Happy blogging. */

if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
?>