Linking an Image to URL


I am trying to link an image to a URL the normal way on the dsahboard of wordpress, but after clicking update and update again, then refreshing and checking the front end it does not save but links back to the image attachement page.

On my localhost it works fine but on my live site it does not save.

Any ideas?