Fix HC + custom host links

:bug:

This patch replaces HC links with the custom host value (if provided) to create the correct URLs.

/cc @maximeprades