File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 77###############################################
88
99# Dynamic latest API redirect - automatically points to current latest version
10- /docs/reference/generated/kubernetes-api/latest/ /docs/reference/generated/kubernetes-api/{{ $latest }}/ 301
11- /docs/reference/generated/kubernetes-api/latest/* /docs/reference/generated/kubernetes-api/{{ $latest }}/:splat 301
10+ /docs/reference/generated/kubernetes-api/latest/ /docs/reference/generated/kubernetes-api/{{ $latest }}/ 307
11+ /docs/reference/generated/kubernetes-api/latest/* /docs/reference/generated/kubernetes-api/{{ $latest }}/:splat 307
1212
1313# Include all existing static redirects
1414{{- $staticRedirects := readFile "static/_redirects.base" -}}
Original file line number Diff line number Diff line change 44# test at https://play.netlify.com/redirects #
55###############################################
66
7+ # NOTE: This is the SOURCE FILE for static redirects.
8+ #
9+ # How to add redirects:
10+ # - For STATIC redirects (fixed paths): Add them to THIS FILE
11+ # - For DYNAMIC redirects (using Hugo variables/logic): Edit layouts/index.redirects
12+ #
13+ # The actual _redirects file is auto-generated by Hugo from layouts/index.redirects,
14+ # which combines dynamic redirects with the static redirects from this file.
15+
16+
717/concepts/containers/container-lifecycle-hooks/ /docs/concepts/containers/container-lifecycle-hooks/ 301
818/docs/ /docs/home/ 301!
919/bn/docs/ /bn/docs/home/ 301!
You can’t perform that action at this time.
0 commit comments