Cardiff made it three wins from four matches under Steve Morison as they claimed a 2-1 win at Luton.
The visitors took the lead after 10 minutes with their first goal in the first half of a game this season.
Perry Ng's cross was met by Rubin Colwill, who was completely unmarked. His downward header appeared to be clawed out by Hatters goalkeeper Simon Sluga, but not before it had crossed the line as referee Oliver Langford signalled a goal.
With the wind behind them, Ng tried his luck from 40 yards after collecting Sluga's clearance, with his effort not missing by much.
Luton offered very little going forward during the opening 45 minutes. Kal Naismith's free-kick that cleared the crossbar being the only opportunity they mustered.
There was a flurry of excitement before half-time as Sluga opted to punch clear a cross which rebounded off an unsuspecting James Collins' head and out to safety.
Town then won a corner which was put into the six-yard box by James Bree but no Luton player was able to get a touch.
Cardiff went close from a set-piece of their own as Sean Morrison's glancing header went narrowly wide of the far post.
Bluebirds defender Mark McGuinness should have made it 2-0 at the start of the second half, putting a free header from Marlon Pack's cross over the bar, while Colwill was denied his second of the afternoon by Sluga.
Pelly-Ruddock Mpanzu sent a rising effort into the stand from 20 yards and visiting keeper Alex Smithies got just enough on a Harry Cornick toe-poke as Luton looked to hit back.
Tom Lockyer might have made it 1-1 as he stayed up from a corner and met Naismith's driven cross, only to divert his header over.
Luton did level in the 64th minute when Naismith's deep ball into the box was pulled down by Elijah Adebayo and he found Jordan Clark who side-footed the ball into the corner for his first goal of the season.
Collins almost put City back in front, latching onto a poor header from Sonny Bradley, but his lob was easy for Sluga.
Naismith then tried his luck, blazing off target from 25 yards after stepping out of defence once more.
Cardiff regained the lead after 77 minutes when Ryan Giles' cross from the left was missed by Bradley and Morrison buried a diving header at the far post.
Clark might have put Luton level within 60 seconds as he brought down Naismith's cross, only to slice wide.
Bluebirds substitute Isaak Davies almost wrapped up the win with four minutes to go but Sluga raced out to slide at his feet.
Luton could not grab an equaliser as their winless run was extended to four matches.
What the managers said...
Luton's Nathan Jones: "We've got a poor record against Cardiff here, and other teams enjoy playing against Cardiff at the minute in their run of form. We usually kick Cardiff's run and that's just a lack of bravery all over, whether that's in the clinches, whether that's in battle, whether that's in bravery to get on it and dominate, we didn't.
"We've played Cardiff three times when we've been in good form - 4-0, 2-0, 2-1 - and it's not from anything elaborate, they don't carve us open, we haven't had to hold our hands up and go 'wow, they're a good side'. They just put the ball in our box and we don't handle it."
Cardiff's Steve Morison: "I made four changes, like I did against Huddersfield, and I'll continue to do the same. It's imperative we have fresh legs and fresh bodies. Sometimes it gives you people who have a little bit extra or a bit of a point to prove. It keeps people involved, it keeps people interested and they've got to realise they are one game away from starting a game of football, so they can't shut off and down tools.
"There's a point to it, a process to it. We have done it twice now and it has worked twice. Tonight we have got something to celebrate. The main thing now is that on Monday morning everyone comes back in with a smile on their face."