send redirect to context if path is empty