make URL domain-independent