Returns the URL to the page, including scheme and hostname
This method is just like the
$page->url()method except that it also includes scheme and hostname.
This method can also be accessed at the property
It is desirable to use this method when some page templates require https while others don't.
This ensures local links will always point to pages with the proper scheme. For other cases, it may be preferable to use
$page->url()since it produces shorter output.
// Generating a link to this page using httpUrl echo "<a href='$page->httpUrl'>$page->title</a>";
// basic usage $string = $page->httpUrl(); // usage with all arguments $string = $page->httpUrl(array $options = );
For details on usage see
Returns full URL to page, for example:
API reference based on ProcessWire core version 3.0.214