Why does my link break when I embed it in different locations?