Topic cluster
Routing and redirects
Mapping incoming URLs to controllers resources or redirect destinations.
View topic page6 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
Add your first dynamic page
Use an existing controller and a template for a simple dynamic page.
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.
dispatch: Inspect dispatch rules or trace a URL
Inspect dispatch rules or trace a URL.
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.
Trace a URL through dispatch
Open the Development page's dispatch tools. Inspect the list of active rules, then trace the path that produces an unexpected result.
Trace URL dispatch from the command line
Use dispatch inspection to discover why a path selects a particular controller: