Record clean DI alongside amp to re-amp later; reamp boxes match impedance and ground for noise-free takes.
More in the
Guitar Bass Tone and Pedalboard Engineering
category...