$request->url()

Returns the complete URL for the current request

  • return (string)
<?= kirby()->request()->url() ?>