Skip to content

Instantly share code, notes, and snippets.

@stephenbelyea
Last active August 20, 2019 18:54
Show Gist options
  • Save stephenbelyea/0f27b305ca290494d144 to your computer and use it in GitHub Desktop.
Save stephenbelyea/0f27b305ca290494d144 to your computer and use it in GitHub Desktop.
Pantheon WP Config Local
<?php
// Drop wp-config-local.php into local site's root dir.
// Get connection info from Pantheon project.
define('DB_NAME', '');
define('DB_USER', '');
define('DB_PASSWORD', '');
// Use HOST:PORT from Pantheon.
define('DB_HOST', '');
// Local domain (add to hosts), no trailing slash.
define('WP_HOME', '');
define('WP_SITEURL', '');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment