Redirect to main page if config exists