and like us on FB

The following function permits you to get the current page (or permalink) URL with PHP. Not unlike regular expression variations, there are numerous methods to return the current URL… so expect this function to evolve over time.

If used on this page, the function would return

Shortt URL for this post: