the next code did the trick map.addControl(new OpenLayers.Control.Permalink('Editlink','http://www.openstreetmap.org/edit') ); and in the body <div id="EditlinkDiv"><a href="" id="Editlink">Edit (Potlatch)</a></div>