Midlothian Council has agreed to spend £170,000 to stabilise the slope and reopen the steps at Ironmills Park, Dalkeith for a second time.
The steps from Cemetery Road to the park have been closed since January because of landslip problems.
At last week’s full council meeting councillors heard the results of an investigation by consultant engineers, Ironside Farrar.
Three options to tackle the landslip problems were outlined. Councillors approved option two, to anchor an extensive area at a cost of £170,000.
Speaking at the meeting Councillor Derek Rosie (SNP) said: “Unfortunately the previous work to stabilise this slope at Ironmills Park has not worked as well as we had hoped.
“Option two offers the best chance that there will be no further work in the future.
“I think we really have to move forward on this and get it fixed.”
Councillor Alex Bennett (Lab) agreed. He said: “We have got to go with the advice of the structural engineers. Therefore I back this, to get this done and get this walkway back into operation.”
Councillor Lisa Beattie (SNP) said: “I think it’s no secret that local residents have been extremely frustrated by the lack of use of this area for some time by this route.
“And when we have such a commitment to improving health and wellbeing and that means accessing our local spaces easily, this has obviously been very disappointing.”
The steps were last closed and off limits to pedestrians from March 2013 to December 2014, again because of landslip problems.
In September 2014, the council agreed to spend around £58,000 in total to take expert advice on the likely causes of the landslip and to provide advice on the options available to stabilise the slope.
This funding was also to take measures to reinstate the steps and path at Ironmills Park.