-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Behaviour
Assuming
- a node exists and is visible in Neos
- a redirect is (manually) added that redirects the URL of that node somewhere else
then the redirect is not used as long as the node is not hidden.
If the redirect component (tried it on Neos 4.3 👻) is moved before routing (instead of after routing, it works.
Question
This is the intended behaviour, looking at the check for possible routing results (in the middleware and the component)
But what is what people expect? At least I stumbled over this because a customer notified me of a "bug" – so the behaviour is not crystal clear to everyone.
Possible solution
One way is to adjust the position through the configuration, that is even documented (but it could be worded differently for Neos, and/or put in the neos/redirecthandler-neosadapter documentation, too.