Wreath products of nondiscrete locally compact groups are usually not locally compact groups, nor even topological groups. As a substitute introduce a natural extension of the wreath product construction to the setting of locally compact groups. Applying this construction, we disprove a conjecture of Trofimov, constructing compactly generated locally compact groups of intermediate growth without any open compact normal subgroup.