I am struggling with excessive white space in my bibliography entry. This question has been asked before, but the commonly prescribed advice of including the hyphens option of the url package before hyperref is not working for me.
Here is a reproducible example:
\documentclass{article}
\usepackage{natbib}
\usepackage[margin=1in]{geometry}
\usepackage[hyphens,spaces,obeyspaces]{url}
\usepackage[hidelinks,breaklinks]{hyperref}
\begin{document}
\bibliographystyle{apalike}
\bibliography{mini}
\nocite{*}
\end{document}
and my file mini.bib
@misc{feilden2017,
title = {Most Scientists 'Can't Replicate Studies'},
abstract = {Science is facing a "reproducibility crisis" as scientists fail to reproduce others' work, it is claimed.},
language = {en-GB},
howpublished = {\url{https://web.archive.org/web/20190413132210/https://www.bbc.com/news/science-environment-39054778}},
author = {Feilden, Tom},
month = feb,
year = {2017}
}


\raggedrightor set up url to allow breaking anywhere not just at/etc – David Carlisle Jun 05 '19 at 20:22xurlpackage, to have more breaking points for urls – Bernard Jun 05 '19 at 20:27