Why should define(‘RELOCATE’,true) be removed from wordpress config?
The reason you remove it is because define(‘RELOCATE’,true); will point every visitor of your site to the admin login. If you are still getting re-directed to the dev server then you need to re-configure your database.