Page

Use Smart Tags to show the current page's URL, title, meta description or language, and to read values from the query string or POST data.

Page

Here, you will find a list of Smart Tags containing information about the page being browsed.

{url}

Returns the complete URL of the page, including the query string.

Example:

https://www.site.com/blog/?category=123

{url.path}

Returns the page URL without the query string.

Example:

https://www.site.com/blog/

{url.encoded}

Returns the complete URL of the page, including the query string, but encoded. For instance, if the current URL is https://www.site.com/blog/?category=123 the Smart Tag will return https%3A%2F%2Fwww.site.com%2Fblog%2F%3Fcategory%3D123. This is useful when you want to pass the URL as a parameter in another URL.

{page.title}

Returns the title of the page. If the page is behind a Menu Item, its Browser Page Title will be returned if not empty; otherwise, it falls back to the title as seen in the browser tab. Note that this Smart Tag may contain the site's name depending on whether or not the "Global Configuration → Site → SEO → Site Name in Page Titles" option is turned on.

If you want to display the title of a Joomla Article, use the {article.title} Smart Tag instead. Similarly, you can use the {menu.title} Smart Tag to fetch the Menu Item's title.

{page.desc}

Returns the page’s meta description. If the page is a Joomla Article with a meta description set, it will be returned. Otherwise, it falls back to the menu item’s page meta description.

{page.lang}

Returns the language code of the page. For example, if the page’s language is English or Greek, expect en-gb and el-gr as the returned value, respectively.

{page.langurl}

Returns the first part of the language code of the page. For example, if the page’s language is English or Greek, expect en and el as the returned value, respectively.

{page.generator}

Returns the value of the generator meta tag.

{page.browsertitle}

Returns the menu item’s Browser Page Title option even if it is empty.

{querystring.KEY}

Returns the value of a URL query string parameter as found in the $_GET superglobal array. For example, if the page URL is http://example.com/page.php?key1=red&key2=blue, the {querystring.key2} Smart Tag will return blue.

{post.KEY}

Returns a value from the POST data, as found in the $_POST superglobal array. For example, if you submit a form that consists of the “email” and “name” input fields, you can use {post.email} and {post.name} Smart Tags in the submitted URL to retrieve the value of any form input.

Last updated on Nov 11th 2026 14:11