URL suffixes and query strings

Learn about URL suffixes and query strings, which help you present a page in a certain way or perform an action on the page.

The following sections list all of the available suffixes and query strings.

Some features on this page are only available under certain conditions (such as what access permissions you have).

URL suffixes

Suffixes are strings that you add to the end of a URL, either on the root of the site domain or on a particular page URL. For example, https://www.example.com/_admin or https://www.example.com/page/_admin.

Suffix Description

/_admin

Access the Admin interface of the Squiz matrix system.

If entered on a particular page URL, the Admin interface will also attempt to load the asset under that URL by default.

/_edit

Access the Edit mode interface of a specific site or page.

/_signin

Access the sign in screen for a particular site or page.

Use this suffix when signed-in to the system, or when you are un-authenticated.

/_editplusapi

The URL of the Edit+ API JavaScript file.

The Edit+ extension uses this suffix to make web service calls to power the interface functionality.

/_nocache

Use this to serve the page without Matrix cache.

A Cache-Control: no-store, no-cache header is sent when you use this suffix. Doing so ensures the page does not get cached in any accelerator cache or the user’s browser cache.

This will not re-populate the cache with the un-cached content, use /_recache for that.

/_noproxycache

This suffix works similarly to the /_nocache suffix, except it does not force Matrix to regenerate a page with no Matrix cache.

It also sends a Cache-Control: no-store, no-cache header when viewing the page.

/_recache

This has the same effect as /_nocache, but it will also re-prime the internal Matrix cache for that particular page.

If you revisit the page without a suffix, you will see a fresh copy of the page.

/_performance

This suffix shows you all the assets used to build the current page and the number of internal PHP requests made while creating it.

Query strings

Query strings are typically used with a parameter and value combination and in conjunction with URL suffixes. Some query strings also don’t need a value, however, and consist of the parameter only.

Query string Description

?SQ_ACTION=view_live

Show the Live version of an asset that is currently in a Safe edit type status.

?SQ_ACTION=diff

Show the difference between the Live version of an asset and its safe edit version, highlighting the parts of the content added and removed between versions.

?SQ_ACTION=login&FORCE_BACKUP_LOGIN=1

Show the backup sign-in screen to sign in to the Matrix system.

?SQ_ACTION=logout

Instantly log out of the Matrix system.

?force=true

Used on OAuth 2 Token assets to force the generation of a new access token.

?SQ_ASSET_CONTENTS

Show the contents of the page without any Design applied.

You can add asset IDs to this URL parameter to specify the components to print, for example: ?SQ_ASSET_CONTENTS=111,222.

You can also use this query string in conjunction with SQ_PAINT_LAYOUT to override the default design of the page.

You can not specify a container nested in the current page.

?SQ_ASSET_CONTENTS_RAW

Show the contents of the page without any Design or Paint Layout applied.

You can also pass individual component IDs to this parameter, similar to the SQ_ASSET_CONTENTS parameter.

?SQ_DISABLE_SERVER_JS

Disables all JavaScript using the runat="server" method from running on the server.

You must have write access to the page for this query string to work.

Read the Working with Server Side JavaScript documentation for more details about this query string.

?SQ_VIEW_SERVER_JS

Display the full output of JavaScript code sent to the JavaScript engine in Matrix.

Use this query string to help with debugging your frontend JavaScript code.

Read the Working with Server Side JavaScript documentation for more details about this query string.

?SQ_PAINT_LAYOUT=1234

Display the current page with a particular Paint Layout applied where 1234 is the Paint Layout asset ID.

This query string needs to be used with the SQ_ASSET_CONTENTS query string parameter so the default design is disabled first.

?SQ_PAINT_LAYOUT_NAME={custom_name}

Display the current page with a Paint Layout applied based on the {custom_name} Layout code value of a paint layout asset’s User defined paint layouts section.

?SQ_DESIGN_NAME={custom_name}

Display the current page with a Design applied based on the custom design name setting on the Settings screen of the asset.

?SQ_DISABLE_ESI

Disable automatic header sending, which is useful for debugging ESI tags.

You must have write access to the page for this query string to work.

Even using this string, the accelerator caching proxy might still be configured to inject the surrogate-control header and process the ESI tags automatically. If this is the case, you can disable that proxy config as Matrix will automatically add this header if there are any ESI tags within the rendered HTML.