MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
    Post Undeleted by algori
show/hide this revision's text 2 added 289 characters in body; deleted 177 characters in body

Nope

The answer is no. Take $H$ any topological group, $G=H\times\mathbb{Z}/2$, H'$ another topological group having a noncentral element $a$ the generator a'$ of order 2, $\mathbb{Z}/2$ G=H\times H'$, $a=1_H\times a'$ and $f=g\times id_{\mathbb{Z}/2}$ f=h\times inv_{H'}$ where $g$ h$ is any endomorphism anti-automorphism of $H$.H$ and $inv_{h'}$ is the map $h'\mapsto h'^{-1},h'\in H'$.

    Post Deleted by algori
show/hide this revision's text 1