A query string is the part of a URL after the question mark. Fields in the query string are separated by the ampersand, '&'. The field name is before the equal sign and value after it.
More information about query string is found in Wikipedia article.
b:env.get tags
b:env.get.field<b:env.get.field />
|
Returns the value of a single query string field |
Examples
In all of the examples the page is assumed to be accessed via this URL:http://www.mydomain.com/search/?from=products&q=delicious%20bluecheese
Reading query string
<b:env.get />
HTML source output
from=products&q=delicious%20bluecheese
Reading a single query string field
When accessing a single query string field the value is automatically decoded.
To use it again in a query string you can use <b:format.urlencode>.
<b:env.get.q />
HTML source output
delicious cheese

