Facile synthesis of magnetic hierarchical MgO–MgFe2O4 composites and their adsorption performance towards Congo red