According to your docs, https://openms.netlify.app/documentation should just normalize to https://openms.netlify.app/documentation/. Why does it behave different? This does not make sense.
It looks like at least for one example, the page does exist. The redirect won’t work as long as it exists, it will return a 200. Can you please try removing the existing pages underneath /documentation/* to see if that helps?
Ex: https://openms.netlify.app/documentation/install_win.html exists so it will not redirect to https://abibuilder.cs.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/install_win.html
I am not sure I understand. https://openms.netlify.app/documentation/install_win.html is already a redirect, which we want to keep. This works as expected.
In the initial post I explained that the general redirect works. Only if you type $domain/documentation without a trailing slash, it does not work correctly.
Using a specific redirect rule without a slash (before the wildcard rule) does not help.