Match ends, Wycombe Wanderers 1, York City 0.
Fred Onyedinma made it two goals in as many games as league leaders Wycombe saw off York at Adams Park.
The Chairboys were denied a bigger win by York keeper Bobby Olejnik, who was in fine form on his debut.
Millwall loanee Onyedinma broke the deadlock after the break when he headed in following Sam Wood's volleyed cross.
Marvin McCoy nearly equalised against his former side but home keeper Matt Ingram produced a superb save from the full-back's deflected shot.
Wycombe manager Gareth Ainsworth told BBC Three Counties Radio:
"It was a performance that we were worried about, we had a couple of ins and outs in the week. I was worried about this one as York's away form has been great.
"Our first-half performance was great. And what a save from Matt Ingram at the end, he's really dug it out when he was called on. Today he was superb.
"I thought we saw the game out really professionally which is really important."
York City manager Russ Wilcox told BBC Radio York:
"I thought the best team won today, no qualms.
"We did a lot better in the second half and we didn't create enough opportunities today but you've got to give credit to the opposition.
"You can see why they're at the top end of the league.
"We've always started games well, but we couldn't get a foothold in the game today and that's credit to Wycombe."
- 2JombatiBooked at 89mins
- 8BeanBooked at 55mins
- 23OnyedinmaSubstituted forMcClureat 90+3'minutes
- 25Amadi-HollowaySubstituted forCraigat 85'minutes
- 10PennSubstituted forMorrisat 80'minutes
- 12CarsonBooked at 51minsSubstituted forMeikleat 68'minutes
- Oliver Langford
- Shots on Target
Second Half ends, Wycombe Wanderers 1, York City 0.
Foul by Sam Wood (Wycombe Wanderers).
Lindon Meikle (York City) wins a free kick on the right wing.
Corner, York City. Conceded by Matt McClure.
Substitution, Wycombe Wanderers. Matt McClure replaces Fred Onyedinma.
Attempt missed. Fred Onyedinma (Wycombe Wanderers) right footed shot from the centre of the box is close, but misses to the left.
Sido Jombati (Wycombe Wanderers) is shown the yellow card.
Corner, Wycombe Wanderers. Conceded by Luke Summerfield.
Attempt blocked. Sam Wood (Wycombe Wanderers) right footed shot from outside the box is blocked.
Attempt saved. Fred Onyedinma (Wycombe Wanderers) right footed shot from the left side of the box is saved in the centre of the goal.
Substitution, Wycombe Wanderers. Steven Craig replaces Aaron Holloway.
Attempt missed. Wes Fletcher (York City) left footed shot from outside the box misses to the left.
Substitution, York City. Carlton Morris replaces Russell Penn.
Sido Jombati (Wycombe Wanderers) wins a free kick in the attacking half.
Foul by Wes Fletcher (York City).
Attempt saved. Fred Onyedinma (Wycombe Wanderers) right footed shot from the centre of the box is saved in the centre of the goal.
Foul by Fred Onyedinma (Wycombe Wanderers).
Russell Penn (York City) wins a free kick in the attacking half.
Corner, York City. Conceded by Matt Ingram.