Either the Mexican Revolution does not happen at all - and hence the Porfiriato continues - or Victoriano Huerta remains the President of Mexico. Those are the only two ways I see that happening. And since everyone hated Huerta's guts, from the Constitutionalists down to the Zapatistas, . . .
If Huerta were still in power in 1917, it would almost certainly mean that the US had given up on trying to oust him--so why would he want to jeopardize that?
As for Diaz, he would be dead by 1915 anyway, but why would he want to go to war with the US--knowing that Germany couldn't help him? Diaz's major justification for his rule after all was that he had brought peace to Mexico. Moreover, he was not hostile to the Entente, as I have noted in two posts:
***
Diaz, though he had fought against the French, was a Francophile--something evident in the architecture of Mexico City when he was in power. [1] It is fitting that he died in exile in Paris. His powerful Secretary of Finance, José Yves Limantour, was considered especially Francophile. "Limantour remained in France for the remainder of his life. He became a member of the Académie des Sciences Morales et Politiques and was named a grand officer of the French Legion of Honor. He died in Paris on August 26, 1935, largely forgotten..."
https://en.wikipedia.org/wiki/José_Yves_Limantour Economically, "French investment was paramount in government and banking."
https://books.google.com/books?id=3n4-rmDCUyQC&pg=PA20 The intellectual influence of France was enormous: "Curiously enough, in few other places of the Iberian American world would the Positivist movement reach the kind of influence that it had in Mexico, during the several decades of the government of Porfirio Diaz. Franco–Mexican relations reached a zenith during that period, even though General Diaz had been a hero in the fight against the French invaders. Not surprisingly, after being toppled he moved to France, where he spent his last years."
https://books.google.com/books?id=KeY7DwAAQBAJ&pg=PA10
[1] "Palacio de Bellas Artes
Commissioned by Francophile President Porfirio Díaz, this white marble palace would be right at home in Paris with its art nouveau style and deco interior—until you glimpse the walls. Murals by Mexico’s most inflammatory and revered artists (Orozco, Rivera, Siqueiros) disrupt and beguile."
https://www.sunset.com/travel/hawaii-mexico/mexico-city#palacio-de-bellas-artes-mexico-city The murals, needless to say, were a later development...
https://www.alternatehistory.com/fo...-with-mexico-before-ww1.453620/#post-17721454
***
Why would Diaz do this [invade Belize]? He was quite pro-British--he had recognized British sovereignty over Belize
https://en.wikipedia.org/wiki/Belize–Mexico_border and encouraged British investment in Mexico (partly as a counterweight to excessive dependence on the US). Moreover, his major justification for his authoritarian rule was that he had brought peace to Mexico. Why is he suddenly embarking on a risky war of aggression that will enrage the US, which does not want any change in Latin American borders, and which though neutral in the Great War has been suspicious for a generation of Germany's Caribbean ambitions? The only nation that would be pleased would be Germany, but Germany is not in much of a position to help Mexico, after all...
https://www.alternatehistory.com/fo...o-invades-belize-in-ww1.452807/#post-17657795