Skip to content

Instantly share code, notes, and snippets.

View Adam81's full-sized avatar

Adam Taylor Adam81

View GitHub Profile
@nielslange
nielslange / wp-config.php
Last active July 1, 2022 18:12
Common wp-config.php
<?php
switch ($_SERVER['HTTP_HOST']) {
case 'dev.mydomain.com':
define('DB_NAME', '' );
define('DB_USER', '' );
define('DB_PASSWORD', '' );
define('DB_HOST', '127.0.0.1' );
define('WP_CACHE', false);
define('WP_DEBUG', true);