Create a custom 404 page with absolute URLs hardcoded
conda install conda-forge::sphinx-notfound-page