Only store valid URLs