How to force an HTML link to be absolute?
If you prefix the URL with // it will be treated as an absolute one. For example: <a href=”https://google.com”>Google</a>. Keep in mind this will use the same protocol the page is being served with (e.g. if your page’s URL is https://path/to/page the resulting URL will be https://google.com).