How to get a page url from a *.phtml template in Magento 2?
To get a page url from a *.phtml template in Magento 2, you can call the

or
The core example looks as follows:

To get a page url from a *.phtml template in Magento 2, you can call the
or
The core example looks as follows: