generate correct absolute url for /trigger