We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b5753 commit e52e1a3Copy full SHA for e52e1a3
docs/_extra/_redirects
@@ -1,7 +1,12 @@
1
-# https://www.netlify.com/docs/redirects/
+# Redirect rules
2
+# Docs: https://www.netlify.com/docs/redirects/
3
-# Redirect RTD /en/latest/ prefix
4
-/en/latest/* /:splat 301!
+# Redirect http to https (avoid one extra hop with an explicit rule for /en/latest/)
5
+http://docs.python-guide.org/en/latest/* https://docs.python-guide.org/:splat 301!
6
+http://docs.python-guide.org/* https://docs.python-guide.org/:splat 301!
7
-# TODO: Redirect internal URL to python-guide.org
-# https://python-guide.netlify.com/* https://docs.python-guide.org/:splat 301!
8
+# Redirect RTD prefix to /
9
+/en/latest/* /:splat 301!
10
+
11
+# TODO: Redirect Netlify URL to python-guide.org
12
+# https://python-guide.netlify.com/* https://docs.python-guide.org/:splat 301!
0 commit comments