Clive Platt continued his incredible scoring run at The Ground with a goal five minutes from time to fire the Dons back into the automatic promotion places.
Platt rose to head home substitute John Hayes' cross for his seventh goal in his last four home games as the Dons came from behind to beat 10-man Wrexham.
Keith Andrews had already exorcised the Dons' penalty demons to cancel out Lee McEvilly's opener and Wrexham, who saw Lee Roche sent off for two first-half cautions, just couldn't hang on.
Having beaten Macclesfield so comprehensively on Tuesday night, Allen's side went out seeking to do the Silkmen a favour by beating one of their relegation rivals, as well as three points towards their own promotion objective.
Only one change was required from Tuesday night's team, the power and strength of ankle injury-victim Aaron Wilbraham being replaced by the guile and trickery of Gary Smith in midfield.

Wrexham boss Brian Carey had far more to worry about with Chris Llewellyn, Ryan Valentine and Steve Evans all missing through suspension. The silver lining to that cloud was goalkeeper Mike Ingham and defender Danny Williams being passed fit to start.
Following his dynamite start to Tuesday night's game when he opened the scoring after just two minutes, lightning almost struck twice as Izale McLeod went through on Ingham but Andrews' flicked pass had just too much weight on it.
But with a strong wind at their backs and 12 minutes on the clock, Wrexham took the lead with the Dons defence stood, arms raised for offside. Jeff Whitley's diagonal ball from the left was seized upon by skipper Neil Roberts and when the flag didn't arrive, he rolled the ball across the box for McEvilly to slide home.
A goal down and in need of a response, it was all the Dons could do to reach the halfway line with The Ground's famous gale seeming to pin them back. Wrexham tried to take advantage, pressing high up the pitch and forcing set-pieces to increase the pressure.
But the Dons refused to be caged and when Smith and Jon-Paul McGovern combined to cause havoc down the right, Wrexham just couldn't clear and it resulted in the game turning on its head. McLeod's first effort was blocked to the edge of the box where Andrews' fierce drive was handled by Roberts just a couple of yards away.

A penalty was given leading to mass protest from the inscensed Wrexham players. Having been booked on 17 minutes for a foul on Lloyd Dyer, Roche might have been better advised to stay out of it, but he talked himself into a second booking and disappeared down the tunnel.
The Dons had missed their last four penalties in a row, but Andrews seized the responsibility like a captain should and showed nerves of steel to send Ingham the wrong way from the spot.
The Dons started the second half with a bang and thought they were ahead just two minutes into it. McGovern tried a magnificent chip from the edge of the box and when Ingham tipped it onto the bar, McLeod headed in the rebound only to be flagged offside.
Replicating some of his brilliance from Tuesday night, McGovern was at it again when he and Lewington combined for what would have been a goal-of-the-season-contender on 54 minutes. The Scot's corner was put on a sixpence for the Dons full-back, who came striding onto it, Paul Scholes-like, to crash a thunderous volley from the edge of the box past the right-hand upright.
Now it was Wrexham unable to escape their half and they breathed a heavy sigh of relief when Gary Smith collected the ball 25 yards out and despite loosing his footing, hit a right-foot shot off the post.

With Wrexham holding firm and the Dons desperate for the win, Allen went for broke by throwing on John Hayes and Leon Knight for McGovern and Lewington.
By this point, Wrexham were just hanging on, offering very little in attack in stark contrast to the Dons who were pouring forward.
On 80 minutes Knight controlled a ball superbly with his chest before spinning in the box and sending a left-foot shot just wide of Ingham's left-hand post.
But Dons fans are used to their side leaving it late these days and Platt didn't disappoint them as he kept his staggering run going. Hayes' chipped cross from the left was screaming out for a towering header and Platt provided it, beating Ingham just inside the post despite the Wrexham 'keeper's best efforts.















