From a569878b27c7066500ca008be247d8b16c78a76b Mon Sep 17 00:00:00 2001 From: Matthew Bernhardt Date: Thu, 12 Sep 2024 10:02:32 -0400 Subject: [PATCH] Add conditional config for the UX tier ** Why are these changes being introduced: We have a long-term multidev for the UX team to use for content work, but it isn't consistently implemented between several names. This causes problems when trying to access the network dashboard and password reset interfaces, because the inconsistent names provoke a server error. ** Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/pw-92 ** How does this address that need: This adds a conditional to web/wp-config.php to standardize how the UX tier is named. This is the same conditional where we assign custom names for the Dev, Test, and Live tiers - so this is a consistent place to assign a custom name for a multidev. ** Document any side effects to this change: None that I can see - although this is the first time we're using this approach for a multidev, so that may be worth noting. --- web/wp-config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/wp-config.php b/web/wp-config.php index dc4febff..3fd2ea5b 100644 --- a/web/wp-config.php +++ b/web/wp-config.php @@ -43,6 +43,9 @@ case 'dev': define( 'DOMAIN_CURRENT_SITE', 'www-dev.libraries.mit.edu' ); break; + case 'www-ux': + define( 'DOMAIN_CURRENT_SITE', 'www-ux.libraries.mit.edu' ); + break; case 'lando': define( 'DOMAIN_CURRENT_SITE', 'mitlib-wp-network.lndo.site' ); break;