Skip to content

Commit

Permalink
Add conditional config for the UX tier
Browse files Browse the repository at this point in the history
** 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.
  • Loading branch information
matt-bernhardt committed Sep 12, 2024
1 parent f421c88 commit a569878
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a569878

Please sign in to comment.