Topic cluster

Dispatch rule

A route declaration that matches a URL pattern and selects a controller with arguments.

View topic page

62 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Developer guide

A URL reaches the wrong page

Confirm the hostname, site, and path from the actual request. Use the dispatch trace to see the selected rule and any rewritten path.

Models

dispatch

Dispatch or generate URLs or page paths. Useful to check dispatch rules or for client side code to dispatch page paths.

Developer guide

Follow a request to its template

Start with the URL that gives an unexpected result. Check its hostname: Zotonic uses it to select a site before matching the site's dispatch rules.

Dispatch rules

mod_admin dispatch rules

URL dispatch rules defined by mod_admin in apps/zotonic_mod_admin/priv/dispatch/dispatch.

Dispatch rules

mod_base dispatch rules

URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch.

Dispatch rules

mod_l10n dispatch rules

URL dispatch rules defined by mod_l10n in apps/zotonic_mod_l10n/priv/dispatch/dispatch.

Dispatch rules

mod_menu dispatch rules

URL dispatch rules defined by mod_menu in apps/zotonic_mod_menu/priv/dispatch/dispatch.

Loading more documentation…