$request->url()

Returns the complete URL for the current request

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