I've provided a MWE below. I'm trying to hyphenate the URL in bibliography page however solutions given from multiple google searches lead me to nothing. So here I am asking for help. Thank you in advance. If it helps, I use latexmk with -pdflua which basically uses lualatex to make the my tex file and used biber for the bibliography database.
\documentclass{report}
\usepackage[backend=biber,style=apa]{biblatex}
\addbibresource{main.bib}
\usepackage{filecontents}
\usepackage[hyphens]{url}
\begin{filecontents}{main.bib}
@online{mcafee2021,
title = {2021 Threat Predictions Report},
url = {https://www.itweb.co.za/content/RgeVDqPYVddvKJN3},
abstract = {The revelations around the {SUNBURST} campaigns exploiting the {SolarWinds} Orion platform have revealed a new attack vector – the supply chain.},
titleaddon = {{ITWeb}},
author = {{McAfee}},
urldate = {2021-09-17},
date = {2021-02-01},
langid = {english},
}
\end{filecontents}
\begin{document}
Yet another test~\parencite{mcafee2021}
\printbibliography{}
\end{document}


xurl. Also thank you for mentioninghyperref. Its very good. Marking as solved. – riazufila Sep 17 '21 at 15:27