New layout for redirects
Closes https://gitlab.com/gitlab-com/gitlab-docs/issues/144
With the new layout proposed here nothing else is necessary for the doc content; the redirected doc would simply contain in its frontmatter:
redirect_to: 'path/to/file.html'
Alternatively, we can use the .md
extension for redirect_to: 'path/to/file.md'
if necessary for /help
.
It would go well with the redirect_from
proposed here: https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/167
This is how the redirected page looks like:
It's navigable for any reason the automatic redirect fails.
@axil WDYT?
Follow up:
- Update dev guides
- Update redirects