You can take a conversion course (GDL) to gain a qualifying UK law degree and/or take the Solicitors qualifying exams (SQE) to qualify as a solicitor in the UK.
You do not have to take the GDL but in order to qualify as a solicitor the SQE has to be taken. Or Legal practice course (LPC) if you are eligible to take it.