Skip to content

Instantly share code, notes, and snippets.

@wpmark
Created January 10, 2014 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpmark/8349479 to your computer and use it in GitHub Desktop.
Save wpmark/8349479 to your computer and use it in GitHub Desktop.
Local Config file for WordPress Multisite.
<?php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'db_name');
/** MySQL database username */
define('DB_USER', 'db_user');
/** MySQL database password */
define('DB_PASSWORD', 'db_password');
/** 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', '');
/* allow multisite */
define( 'WP_ALLOW_MULTISITE', true );
/* define multisite settings for this install - different for local, staging and production */
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'test.dev');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment