Skip to content

Commit ba699c2

Browse files
authored
Merge pull request #859 from nhsx/dev
Prod release of redirects
2 parents 2dcd7a1 + f81ee49 commit ba699c2

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

app/config/urls.py

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,65 @@ def robots(request):
12471247
permanent=True,
12481248
),
12491249
),
1250+
# https://dxw.zendesk.com/agent/tickets/21574
1251+
url(
1252+
r"^key-tools-and-info/public-key-infrastructures/$",
1253+
lambda request: redirect(
1254+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20251103060640/https:/transform.england.nhs.uk/key-tools-and-info/public-key-infrastructures/",
1255+
permanent=True,
1256+
),
1257+
),
1258+
url(
1259+
r"^key-tools-and-info/public-key-infrastructures/csca/$",
1260+
lambda request: redirect(
1261+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20251103060645/https:/transform.england.nhs.uk/key-tools-and-info/public-key-infrastructures/csca/",
1262+
permanent=True,
1263+
),
1264+
),
1265+
url(
1266+
r"^covid-19-response/nhs-covid-19-app/$",
1267+
lambda request: redirect(
1268+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1269+
permanent=True,
1270+
),
1271+
),
1272+
url(
1273+
r"^covid-19-response/eu-gateway/$",
1274+
lambda request: redirect(
1275+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1276+
permanent=True,
1277+
),
1278+
),
1279+
url(
1280+
r"^covid-19-response/nhs-covid-pass-privacy-notice-for-5-to-11-year-olds-nhs-covid-pass-travel-letter/$",
1281+
lambda request: redirect(
1282+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1283+
permanent=True,
1284+
),
1285+
),
1286+
url(
1287+
r"^covid-19-response/covid-19-vaccination-status-vulnerability-disclosure-policy/$",
1288+
lambda request: redirect(
1289+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1290+
permanent=True,
1291+
),
1292+
),
1293+
# The next batch of redirects for this ticket include subpaths and so
1294+
# do not have a trailing $ in the regexp.
1295+
url(
1296+
r"^covid-19-response/data-and-covid-19/",
1297+
lambda request: redirect(
1298+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1299+
permanent=True,
1300+
),
1301+
),
1302+
url(
1303+
r"^covid-19-response/social-care/",
1304+
lambda request: redirect(
1305+
"https://webarchive.nationalarchives.gov.uk/ukgwa/20250905141205/https://transform.england.nhs.uk/covid-19-response/",
1306+
permanent=True,
1307+
),
1308+
),
12501309
]
12511310

12521311

0 commit comments

Comments
 (0)