Sitecore is a web based system and just like to others systems it uses query string parameters to pass viable data. They are used to explicitly configure such important things as display modes, sites, languages etc. Remembering of those tricky things could have a huge speed improvement in cases when dealing with multi-language, multi-device or page editor enabled solutions. Below is the list of the Sitecore query string parameters that I have been using in my day-to-day job.
Used to change the display mode of the website. The following values are accepted:
- normal – normal display – the way the users see the site
- edit – page editor mode
- preview – preview mode
Used to change the website language. Any value that is defined under /sitecore/system/languages could be used.
Used to change the current item
Used to change the current website
Used to change the device in which the website is displayed. Device name or the device id could be passed into it
Used to change the database from which the content is displayed
The following list of query string parameters are debug specific
Used to start/stop the debug mode. Possible values are 0 and 1
Used to start/stop the Sitecore profiler. Possible values are 0 and 1
Used to start/stop the Sitecore trace. Possible values are 0 and 1
Used to show/hide the rendering information. Possible values are 0 and 1
The default debugger usually starts with all three enabled –http://yoursitedomain.com?sc_debug=1&sc_prof=1&sc_trace=1&sc_ri=1
These are the query string params that I usually use in my day-to-day job. There are probably many more of them in Sitecore that are sitting there, waiting for someone to find them 🙂 !
To effectively utilize most of mentioned query string parameters (and not only them!) the following Chrome plugin could be used
Useful admin pages also provided by this plugin.