Redirect for clean URLs do not work
There are some edge cases where setting the redirect_to
to a clean URL wouldn't work.
For example https://docs.gitlab.com/ee/development/ux_guide/.
Currently, we have two methods of defining a redirect:
- Check if there's a
redirect_to
yaml definition - Check if there's a string
This document was moved to [another location]()
If the first is found is preferred and used. We need to change the logic of the redirects.
Edited by Achilleas Pipinellis