Skip to content

Instantly share code, notes, and snippets.

@jazzsequence
Created August 12, 2022 16:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jazzsequence/8b68c35aa7668b77776fc1b9df216304 to your computer and use it in GitHub Desktop.
Save jazzsequence/8b68c35aa7668b77776fc1b9df216304 to your computer and use it in GitHub Desktop.
example lando wp-config.php for Bedrock-based WordPress sites
<?php
use Roots\WPConfig\Config;
$lando_home='http://local-project.lndo.site';
$lando_siteurl="$lando_home/wp";
defined( 'WP_HOME' ) or Config::define('WP_HOME', $lando_home);
defined( 'WP_SITEURL' ) or Config::define('WP_SITEURL', $lando_siteurl);
Config::apply();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment