Jump to content

$page->httpUrl doesn't respect slashUrls


Recommended Posts

I'm just curious why $page->httpUrl returns


When it should return


when the template's settting "Should page URLs end with a slash?" is set to "No"

I also noticed $page->url returns correctly



Is that a bug with $page->httpUrl in the Processwire API or am I missing something?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...