Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa7edbf

Browse files
committed
Update redirects
1 parent40571f4 commitaa7edbf

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

‎docs/_extra/_redirects

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
# Docs: https://www.netlify.com/docs/redirects/
33

44
# 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/:splat302!
6-
http://docs.python-guide.org/*https://docs.python-guide.org/:splat302!
5+
http://docs.python-guide.org/en/latest/*https://docs.python-guide.org/:splat301!
6+
http://docs.python-guide.org/*https://docs.python-guide.org/:splat301!
77

88
# Redirect RTD prefix to /
9-
/en/latest/*/:splat302!
10-
11-
# TODO: Make those cacheable 301s when we're done
12-
# TODO: Redirect Netlify URL to python-guide.org
13-
# https://python-guide.netlify.com/* https://docs.python-guide.org/:splat 302!
9+
/en/latest/*/:splat301!
1410

1511
# Redirect domain aliases to primary domain
16-
http://python-guide.org/* http://docs.python-guide.org/:splat302!
17-
https://python-guide.org/* https://docs.python-guide.org/:splat302!
12+
http://python-guide.org/*http://docs.python-guide.org/:splat301!
13+
https://python-guide.org/*https://docs.python-guide.org/:splat301!
14+
15+
# Redirect Netlify version to primary domain
16+
https://python-guide.netlify.com/*https://docs.python-guide.org/:splat301!

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp