Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
mikethicke committed Sep 3, 2024
2 parents 07f663f + 155b3d6 commit 49f26c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/all/nginx/templates/redirects.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,9 @@ if ($http_host = "stemedplus.commons.msu.edu") {

if ($http_host = "sustaining.hcommons.org") {
rewrite ^/contact/$ https://about.hcommons.org/about-us/contact-us/ permanent;
rewrite ^/(.*)$ https://about.hcommons.org$request_uri permanent;
if ($request_uri !~ "^/wp-admin") {
rewrite ^/(.*)$ https://about.hcommons.org$request_uri permanent;
}
}

if ($http_host = "team.hcommons.org") {
Expand All @@ -599,4 +601,3 @@ if ($http_host = "building.hcommons.org") {
if ($http_host = "stemedplus.commons.msu.edu") {
rewrite ^/(.*)$ https://stemedplus.hcommons.org/ permanent;
}

0 comments on commit 49f26c0

Please sign in to comment.