We present evidence of magnetically controlled guided vortex motion in a hybrid superconductor/ferromagnet nanosystem consisting of an Al film on top of a square array of permalloy square rings. When the rings are magnetized with an in-plane external field H, an array of point-like dipoles with moments antiparallel to H, is formed. The resulting magnetic template generates a strongly anisotropic pinning potential landscape for vortices in the superconducting layer. Transport measurements show that this anisotropy is able to confine the flux motion along the high symmetry axes of the square lattice of dipoles. This guided vortex motion can be either re-routed by 90 degrees by simply changing the dipole orientation or even strongly suppressed by inducing a flux-closure magnetic state with very low stray fields in the rings. During the last years there has been a considerable effort to conceive and realize new superconducting devices that allow to modulate locally the magnetic fields practically at will [1]. These systems rely essentially on either static arrays, such as pinning centers [2,3,4,5] and vortex-antivortex generators [6,7], or components influencing the vortex dynamics like channels [8,9,10,11] and ratchets [12,13]. The ultimate motivation behind the manipulation of the local vortex density is to enhance the performance of superconductor-based devices by reducing the noise in squid-based systems [14,15], gaining control on superconducting THz emitters [16] or even providing a way to predefine the optical transmission through the system [17].Unfortunately, for the majority of the components used in fluxonics devices, once they are created there is no margin for further modifications. In some cases this lack of flexibility becomes a limiting factor in the performance of the devices. For instance, a predefined ratchet system designed to effectively remove vortices from a specific location can work properly at low fields but ignores the inevitable reversed ratchet at higher fields thus making its functionality rather impractical [12,13,18,19]. A way to circumvent this shortcoming can be worked out by introducing magnetic pinning centers which have additional internal degrees of freedom not available in conventional nanostructured pinning sites or defects created via irradiation.In this work we demonstrate that reversible and switchable guidance of the vortex motion can be achieved using a square array of magnetic square rings lying underneath a superconducting film. Transport measurements unambiguously show that the vortex dynamics is fully dominated by the magnetic landscape generated by the ring structures. When the magnetic unit cell is rotated 45 degrees off the Lorentz force F L the average vortex velocity v follows the direction of the principal axis of the magnetic lattice rather than the driving force. This channeling effect can be easily suppressed when inducing a nearly isotropic pinning landscape by setting the square rings in a flux-closure state with very low stray fields.The two samples used f...