Change of wordpress config to handle local and remote databases