I'm guessing it was the information that Abu Sayyaf's wife provided.
Presumably, but I assume ISIS was smart enough to change things up once they learned she'd been captured. If they had to read in the NewYork Times that she was providing info and it was only then that they realized that maybe Baghdadi should change locations, they weren't very bright to start with.