The present invention is directed to a recombinant herpesvirus comprising a heterologous peptideand optionally polypeptideligand capable of binding to (a) target molecule(s)and fused to or inserted into glycoprotein D. The recombinant herpesvirus may additionally comprise modifications for detargeting the virus from the natural receptors of gD. This allows the herpesvirus to efficiently target a cell for therapeuticpurposes and a cell for virus production. The present invention further comprises a pharmaceutical composition comprising the herpesvirus, the herpesvirus for use in the treatment of a tumor, infection, degenerative disorder or senescence-associated disease, a nucleic acid and a vector coding for the g D, a polypeptide comprising the g D, and a cell comprising the herpesvirus, nucleic acid, vector or polypeptide. Moreover, a method for infecting a cell with the herpesvirus orfor producing the herpesvirus isdisclosed.