Fetches all Kirby URL parameters

  • return (array)

Additional to URL query variables you can set parameters via URL in Kirby in a more human readable way:

Those parameters are very handy when you want to build URL-based filters for your content.

Such parameters will be ignored by the router so the URL which will be fetched by Kirby in this case is

The params function returns all detected params:


$params = params();
// $params is array('tag' => 'mytag', 'year' => '2014')

You can also get a single param with the param function.