# observe\_dispatch\_rewrite/3

Source: https://zotonic.com/docs/2019/observe_dispatch_rewrite-3

URI: https://zotonic.com/id/2019

Language: en



Rewrite a URL before it will be dispatched using the z\_sites\_dispatcher

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

`#dispatch_rewrite{}` properties:

- is\_dir: `boolean`
- path: `binary`
- host: `unknown`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2019?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2019?language=en>)
