St. John's wort should be planted in a sunny to partially shaded location with well-drained soil. When transplanting, space the shrubs 24 to 36 inches apart at the same height they were in their containers.