Test redirect behavior

This commit is contained in:
Dan Bader
2018-07-16 14:11:03 -07:00
parent 1e9a7ff8d1
commit 35a4e33868
+2 -2
View File
@@ -2,8 +2,8 @@
# Docs: https://www.netlify.com/docs/redirects/
# Redirect http to https (avoid one extra hop with an explicit rule for /en/latest/)
http://docs.python-guide.org/en/latest/* https://docs.python-guide.org/:splat 302!
http://docs.python-guide.org/* https://docs.python-guide.org/:splat 302!
# http://docs.python-guide.org/en/latest/* https://docs.python-guide.org/:splat 302!
# http://docs.python-guide.org/* https://docs.python-guide.org/:splat 302!
# Redirect RTD prefix to /
/en/latest/* /:splat 302!