Skip to content

Commit

Permalink
PRESERVE-37 redirect for /225; move all 225 redirects together
Browse files Browse the repository at this point in the history
  • Loading branch information
bricas committed Dec 12, 2024
1 parent 85dd143 commit 7a13377
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions build/nginx/daemon/redirect-map.conf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ map $request_uri $redirect_uri {
~/research/learn/findhelp.php /research/help-desks-service-points;

# Content import rewrites added manually.
~/225$ /archives/unbhistory;
/225/blisscarman.php /225/bliss-carman;
/225/chairmansremarks.php /225/chairmans-remarks;
/225/charlesgdroberts.php /225/charles-gd-roberts;
Expand All @@ -85,7 +86,7 @@ map $request_uri $redirect_uri {
/225/francissherman.php /225/francis-joseph-sherman;
/225/GBAiry.php /225/george-biddell-airy;
/225/harvardloyalistsinNB.php /225/harvard-loyalists-new-brunswick;
/225/index.php /225/;
/225/index.php /archives/unbhistory;
/225/JEKennedy.php /225/john-edward-kennedy;
/225/JFHeard.php /225/john-frederick-heard;
/225/lieutenant_governorsaddress.php /225/lieutentant-governors-address;
Expand All @@ -99,6 +100,34 @@ map $request_uri $redirect_uri {
/225/tapestries.php /225/unbs-heraldic-tapestries;
/225/tributetoLordBeaverbrook.php /225/tribute-lord-beaverbrook;
/225/UNBPresidentsnew.php /225/photographic-record-headspresidents-college-new-brunswick-kings-college-and-unb;
# Missing 225 files found
/225/blisscarman.html /225/bliss-carman;
/225/chairmansremarks.html /225/chairmans-remarks;
/225/charlesgdroberts.html /225/charles-gd-roberts;
/225/CMcNSteeves.html /225/clarence-mcnaughton-steeves;
/225/CSBeals.html /225/carlyle-smith-beals;
/225/databases.html /225/unb-archives-photographic-databases;
/225/earlydays.html /225/early-days-first-astronomical-observatory-canada;
/225/foundersandtheirtimes.html /225/founders-and-their-times;
/225/FoundersDay.html /225/celebration-founders-day;
/225/francissherman.html /225/francis-joseph-sherman;
/225/GBAiry.html /225/george-biddell-airy;
/225/harvardloyalistsinNB.html /225/harvard-loyalists-new-brunswick;
/225/index.html /archives/unbhistory;
/225/JEKennedy.html /225/john-edward-kennedy;
/225/JFHeard.html /225/john-frederick-heard;
/225/lieutenant_governorsaddress.html /225/lieutentant-governors-address;
/225/observatory.html /225/brydone-jack-observatory;
/225/officialportraits.html /225/presidents-official-portraits;
/225/petition.html /225/founders-petition-1785;
/225/plaqueunveiled.html /225/plaque-unveiled-first-astronomical-observatory-canada;
~/225/poetscorner.html(.*) /225/poets-corner-canada;
/225/poetsmemorialaddress.html /225/poets-memorial-address;
/225/stonepillar.html /225/stone-pillar-true-meridian-line;
/225/tapestries.html /225/unbs-heraldic-tapestries;
/225/tributetolordbeaverbrook.html /225/tribute-lord-beaverbrook;
/225/UNBPresidentsnew.html /225/photographic-record-headspresidents-college-new-brunswick-kings-college-and-unb;
# End 225
/a-to-z.php /sitemap;
~/about/commons/(.*) /about/learning-commons-frequently-asked-questions;
/about/commons.php /about/learning-commons-frequently-asked-questions;
Expand Down Expand Up @@ -1264,34 +1293,6 @@ map $request_uri $redirect_uri {
# Old 404
/404.php /404;

# Missing 225 files found
/225/blisscarman.html /225/bliss-carman;
/225/chairmansremarks.html /225/chairmans-remarks;
/225/charlesgdroberts.html /225/charles-gd-roberts;
/225/CMcNSteeves.html /225/clarence-mcnaughton-steeves;
/225/CSBeals.html /225/carlyle-smith-beals;
/225/databases.html /225/unb-archives-photographic-databases;
/225/earlydays.html /225/early-days-first-astronomical-observatory-canada;
/225/foundersandtheirtimes.html /225/founders-and-their-times;
/225/FoundersDay.html /225/celebration-founders-day;
/225/francissherman.html /225/francis-joseph-sherman;
/225/GBAiry.html /225/george-biddell-airy;
/225/harvardloyalistsinNB.html /225/harvard-loyalists-new-brunswick;
/225/index.html /225/;
/225/JEKennedy.html /225/john-edward-kennedy;
/225/JFHeard.html /225/john-frederick-heard;
/225/lieutenant_governorsaddress.html /225/lieutentant-governors-address;
/225/observatory.html /225/brydone-jack-observatory;
/225/officialportraits.html /225/presidents-official-portraits;
/225/petition.html /225/founders-petition-1785;
/225/plaqueunveiled.html /225/plaque-unveiled-first-astronomical-observatory-canada;
~/225/poetscorner.html(.*) /225/poets-corner-canada;
/225/poetsmemorialaddress.html /225/poets-memorial-address;
/225/stonepillar.html /225/stone-pillar-true-meridian-line;
/225/tapestries.html /225/unbs-heraldic-tapestries;
/225/tributetolordbeaverbrook.html /225/tribute-lord-beaverbrook;
/225/UNBPresidentsnew.html /225/photographic-record-headspresidents-college-new-brunswick-kings-college-and-unb;

# ITS Libraries Tab Redirect
/teams /;
}

0 comments on commit 7a13377

Please sign in to comment.