Skip to content

New layout for redirects

Marcia Ramos requested to merge create-redirect-layout into master

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:

Screen_Shot_2017-12-02_at_21.38.51

It's navigable for any reason the automatic redirect fails.

@axil WDYT?


Follow up:

  • Update dev guides
  • Update redirects
Edited by Achilleas Pipinellis

Merge request reports