url encode the links for neater links