exclude redirect to .com when using json/api