validated Url and change url to canonical