Minimum 3ft between wifi router and components and cables. I use EERO 6e Pro mesh network and it’s excellent. You can use a high quality switch to help you place the router further away for components
Also - do not use same circuit for your system and network components the switch mode power supplies used with routers a d switches will pollute your AC line

