Skip to content

Commit

Permalink
Merge pull request #3655 from uktrade/feature-IGUK-633-post-migration…
Browse files Browse the repository at this point in the history
…-redirects

IGUK-633 - Additional redirects for International migration
  • Loading branch information
timothyPatterson authored Nov 18, 2024
2 parents 3856995 + 460f8a6 commit 1cdeb85
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 0 deletions.
56 changes: 56 additions & 0 deletions international/url_redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,4 +389,60 @@
r'^international/contact/$',
PermanentQuerystringRedirectView.as_view(url='/international/site-help/'),
),
re_path(
r'^international/content/investment/how-we-can-help/global-entrepreneur-program/$',
PermanentQuerystringRedirectView.as_view(url='/campaign-site/gep/'),
),
re_path(
r'^international/content/investment/how-we-can-help/the-venture-capital-unit/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/why-invest-in-the-uk/$',
PermanentQuerystringRedirectView.as_view(url='/international/'),
),
re_path(
r'^international/content/investment/how-we-can-help/research-and-development-rd-support-in-the-uk/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/trade/contact/$',
PermanentQuerystringRedirectView.as_view(url='/international/'),
),
re_path(
r'^international/invest/contact/$',
PermanentQuerystringRedirectView.as_view(url='/international/'),
),
re_path(
r'^international/content/investment/how-we-can-help/the-office-for-investment/$',
PermanentQuerystringRedirectView.as_view(url='/international/'),
),
re_path(
r'^international/content/investment/how-we-can-help/hire-skilled-workers-for-your-uk-operations/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/access-finance-in-the-uk/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/establish-a-base-for-business-in-the-uk/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/register-a-company-in-the-uk/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/uk-visas-and-migration/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
re_path(
r'^international/content/investment/how-we-can-help/open-a-uk-business-bank-account/$',
PermanentQuerystringRedirectView.as_view(url='/international/expand-your-business-in-the-uk/'),
),
]
56 changes: 56 additions & 0 deletions tests/unit/international/test_redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,62 @@
'/international/contact/',
'/international/site-help/',
),
(
'/international/content/investment/how-we-can-help/global-entrepreneur-program/',
'/campaign-site/gep/',
),
(
'/international/content/investment/how-we-can-help/the-venture-capital-unit/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/why-invest-in-the-uk/',
'/international/',
),
(
'/international/content/investment/how-we-can-help/research-and-development-rd-support-in-the-uk/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/trade/contact/',
'/international/',
),
(
'/international/invest/contact/',
'/international/',
),
(
'/international/content/investment/how-we-can-help/the-office-for-investment/',
'/international/',
),
(
'/international/content/investment/how-we-can-help/hire-skilled-workers-for-your-uk-operations/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/access-finance-in-the-uk/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/establish-a-base-for-business-in-the-uk/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/register-a-company-in-the-uk/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/uk-visas-and-migration/',
'/international/expand-your-business-in-the-uk/',
),
(
'/international/content/investment/how-we-can-help/open-a-uk-business-bank-account/',
'/international/expand-your-business-in-the-uk/',
),
),
)
@pytest.mark.django_db
Expand Down

0 comments on commit 1cdeb85

Please sign in to comment.