Has she been to the vet to make sure it's not a medical problem - like a urinary tract infection?

If there's nothing medically wrong, time to clean everywhere with Nature's Miracle, or some other enzymatic cleaner, and redo housebreaking, like she was a new puppy. She obviously has somehow gotten the idea that peeing on the carpet is an okay thing!