diff --git a/Neos.Neos/Classes/Controller/Frontend/NodeController.php b/Neos.Neos/Classes/Controller/Frontend/NodeController.php index ff5cdc7ec1b..123b33cb39f 100644 --- a/Neos.Neos/Classes/Controller/Frontend/NodeController.php +++ b/Neos.Neos/Classes/Controller/Frontend/NodeController.php @@ -302,7 +302,7 @@ protected function handleShortcutNode(NodeAddress $nodeAddress, ContentRepositor } else { $resolvedUri = $resolvedTarget; } - + $this->redirectToUri($resolvedUri, statusCode: $this->shortcutRedirectHttpStatusCode); } diff --git a/Neos.Neos/Configuration/Settings.yaml b/Neos.Neos/Configuration/Settings.yaml index 4f45714082b..715dc37d895 100755 --- a/Neos.Neos/Configuration/Settings.yaml +++ b/Neos.Neos/Configuration/Settings.yaml @@ -82,6 +82,10 @@ Neos: label: 'Neos.Neos:Main:nodeTypes.groups.plugins' collapsed: true + frontend: + # HTTP Status Code used for redirecting Neos.Neos:Shortcut to target + shortcutRedirectHttpStatusCode: 303 + userInterface: # Switch on to see all translated labels getting scrambled. You now can localize