Ground loops occur when the resistance between any two or more grounding points is high enough to cause enough of a voltage drop to be detected & amplified.
To reduce this:
1) Attach ALL your devices that handle signal circuits to a STAR configuration, ie to the SAME outlet/plug, with short mains wires. That is your turntable, subwoofer, amp, preamp, DAC, etc. If you do this, make sure you have a 20-30 Amp circuit to be able to carry the load of your megawatt amplifier. The more the better (and more expensive).
AND/OR
2) Use NON COPPER signal connections if you can (optical or fm/radio/wifi).
AND/OR
3) If you must use MULTIPLE outlets/plugs (no other choice), make sure the resistance of the EARTH connection between those 2 (or more plugs) is as close to ZERO ohms (the THICKER/OFC the wire the better) as possible.
If you do one or a combination of these, you will not have a hum problem.