protected function redirectRoute(string $requestPath): Route
	{
		return new Route([], '', function(Request $request) use ($requestPath)
		{
			$url = $request->getBaseURL() . ($request->isClean() ? '' : '/' . $request->getScriptName()) . rtrim('/' . $request->getLanguagePrefix(), '/') . $requestPath . '/';

			$query = $request->getQuery()->all();

			if(!empty($query))
			{
				$url .= '?' . http_build_query($query, '', '&', PHP_QUERY_RFC3986);
			}

			return (new Redirect($url))->setStatus(301);
		});
	}