Remove hardcoded urls from error page