In Fourier transform spectroscopy (FTS), the conventional Mertz method is commonly used to correct phase errors of recovered spectra, but it performs poorly in correcting nonlinear phase errors. This paper proposes a phase correlation method–all-pass filter (PCM-APF) model to correct phase errors. In this model, the proposed improved phase correlation method can correct linear phase errors, and all-pass filters are applied to correct the residual nonlinear phase errors. The optimization algorithm for the digital all-pass filters employs an improved algorithm which combines the subtraction-average-based optimizer (SABO) and the golden sine algorithm (Gold-SA). The proposed PCM-APF model demonstrates high correction precision, and the optimization algorithm for the filters converges faster than traditional intelligent optimization algorithms.