now with correct URLs, country names and safe handling of "bad" URLs with redirect behavior