public function actionCatch($path)
    {
        $compositePath = Yii::$app->composition->prependTo($path);
        foreach (Redirect::find()->all() as $redirect) {
            if ($redirect->matchRequestPath($path)) {
                return $redirect;
            }

            // if its a multi linguage website and the language has not been omited form request path compare this version too.
            // this is requred since the luya UrlManager can change the pathInfo
            if ($path !== $compositePath) {
                if ($redirect->matchRequestPath($compositePath)) {
                    return $redirect;
                }
            }
        }

        return false;
    }