Edit on GitHub

Magic Parameters

Pimcore supports some magic parameters which can be added as parameter to every request.

controller/action/template/module

You can call a controller/action/template directly without a route, eg.: http://www.example.com/?controller=my-app&action=my-action&template=my/template.php

nocache

Setting this parameter disables every kind of cache, eg.: http://www.example.com/my/page?nocache=1
This parameter only works if DEBUG MODE is on.

pimcore_outputfilters_disabled

Disables all output filters, incl. the output-cache. But this doesn't disable the internal object cache, eg.: http://www.example.com/my/page?pimcore_outputfilters_disabled=1
This parameter only works if DEBUG MODE is on.

pimcore_log

Enables verbose logging (including database queries) to a separate log file only for this particular request called with this parameter, eg.: http://www.example.com/my/page?pimcore_log=my-log-name

If no value is set to this parameter the log file can be found here: /website/var/log/request-[Y-m-d_H-i-s].log. If a value is given, the value will be part of the log files name: /website/var/log/request-[NAME].log

This parameter only works if DEBUG MODE is on. (this is also the successor of the parameter pimcore_dbprofile in earlier versions)

pimcore_show_template_paths

Shows the template files which are included as HTML comments.

This parameter only works if DEBUG MODE is on.

pimcore_disable_host_redirect

Disables the "redirect to main domain" feature. This is especially useful when using Pimcore behind a reverse proxy.