The synergy between extremely large-scale antenna arrays and terahertz technology in sixth-generation networks establishes a near-field wideband transmission environment, enabling the generation of highly focused beams. To leverage this capability for multi-source localization, we propose a direct localization method based on the curvature-of-arrival of spherical wavefronts for estimating the positions of multiple near-field users from wideband signals. Furthermore, to overcome the spatial-wideband effect, we introduce a hybrid analog/digital array architecture with true-timedelayers (TTDs). We derive a closed-form position error bound to characterize the fundamental estimation performance and optimize the analog coefficients of array by maximizing the trace of the Fisher information matrix to minimize this bound. Furthermore, we extend this method to a sub-optimal iterative method that jointly optimizes beam focusing and localization, without requiring prior knowledge of the source positions for array design. Simulation results show that the proposed array configuration design significantly enhances the performance of near-field wideband localization, while the presence of TTDs effectively mitigates the localization performance degradation caused by spatial-wideband effects.