Skip to content

Commit 69a2a07

Browse files
committed
Add in redirects from old-old VPN info content
1 parent f52f7f3 commit 69a2a07

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

bedrock/products/redirects.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,12 @@ def mobile_app(request, *args, **kwargs):
4343
redirect(r"^products/vpn/mobile/app/?$", mobile_app, cache_timeout=0, query=False),
4444
# Issue 15386
4545
redirect(r"^products/vpn/resource-center/no-Logging-vpn-from-mozilla/$", "/products/vpn/resource-center/no-logging-vpn-from-mozilla/"),
46+
# Issue 15843
47+
redirect("/products/vpn/more/what-is-an-ip-address/", "/products/vpn/resource-center/what-is-an-ip-address/"),
48+
redirect(
49+
"/products/vpn/more/the-difference-between-a-vpn-and-a-web-proxy/",
50+
"/products/vpn/resource-center/the-difference-between-a-vpn-and-a-web-proxy/",
51+
),
52+
redirect("/products/vpn/more/what-is-a-vpn/", "/products/vpn/resource-center/what-is-a-vpn/"),
53+
redirect("/products/vpn/more/5-reasons-you-should-use-a-vpn/", "/products/vpn/resource-center/5-reasons-you-should-use-a-vpn/"),
4654
)

tests/redirects/map_globalconf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,5 +1369,13 @@
13691369
"/firefox/",
13701370
"https://www.firefox.com/",
13711371
),
1372+
# Issue 15843
1373+
url_test("/products/vpn/more/what-is-an-ip-address/", "/products/vpn/resource-center/what-is-an-ip-address/"),
1374+
url_test(
1375+
"/products/vpn/more/the-difference-between-a-vpn-and-a-web-proxy/",
1376+
"/products/vpn/resource-center/the-difference-between-a-vpn-and-a-web-proxy/",
1377+
),
1378+
url_test("/products/vpn/more/what-is-a-vpn/", "/products/vpn/resource-center/what-is-a-vpn/"),
1379+
url_test("/products/vpn/more/5-reasons-you-should-use-a-vpn/", "/products/vpn/resource-center/5-reasons-you-should-use-a-vpn/"),
13721380
)
13731381
)

0 commit comments

Comments
 (0)