fixing the core site redirect