diff --git a/layouts/index.redirects b/layouts/index.redirects index 21cac4d1f..48ce50d4e 100644 --- a/layouts/index.redirects +++ b/layouts/index.redirects @@ -2,6 +2,8 @@ {{- $scalers := where site.RegularPages "Section" "scalers" }} /docs /docs/{{ $docsLatest }} 301! /docs/latest/* /docs/{{ $docsLatest }}/:splat +/scalers /docs/{{ $docsLatest }}/scalers 301! +/docs/scalers/* /docs/{{ $docsLatest }}/scalers/:splat {{- range $scalers -}} {{- $path := index (split .RelPermalink "/") 2 }} /docs/scalers/{{ $path }} /scalers/{{ $path }}