Unlike <b:page.metadata.url />, <b:env.request /> is the full URL request that the user made. The information includes protocol, domain and the full path to the page.
Attributes
Examples
Reading and handling the request information
In this example the template is accessed via this URL:
http://www.mydomain.com/finland/products/cheese/
And the Bildy site root is:
/finland
Vanilla: <b:env.request /> Clear protocol: <b:env.request clear="protocol" /> Clear domain: <b:env.request clear="domain" /> Clear root: <b:env.request clear="root" /> Depth 2: <b:env.request depth="2" /> Depth -2: <b:env.request depth="-2" /> Clear root and depth -1: <b:env.request clear="root" depth="-1" />
HTML source output
Vanilla: http://www.mydomain.com/finland/products/cheese Clear protocol: www.mydomain.com/finland/products/cheese Clear domain: /finland/products/cheese Clear root: /products/cheese Depth 2: http://www.mydomain.com/finland/products Depth -2: http://www.mydomain.com/finland Clear root and depth -1: /finland/products

