We report the experimental study of resonant Rayleigh scattering in GaAs-AlGaAs superlattices with ordered and intentionally disordered potential profiles (correlated and uncorrelated) in the growth direction z. We show that the intentional disorder along z modify markedly the energy dispersion of the dephasing rates of the excitons. The application of an external magnetic field in the same direction allows the continuous tuning of the in plane exciton localization and to study the interplay between the in plane and vertical disorder.