magento2 – M2 js getUrl absolute or relative random links

I'm not used to frontend development … We have a link like this:


    Know more

Now, when I go to the page where the link is shown, sometimes (!) Is correctly linked to / my-special-page, and sometimes wrongly / client / account / my special page.

I could not find out in what circumstances it goes to what page; It seems to be random.

Normally, I would only statically link to / my-special-page, but my colleague could have used the getUrl method for a good reason …

Does anyone know how to correctly use this getUrl thing, and make your behavior be consistent?