# mod\_admin\_merge

Source: https://zotonic.com/docs/1489/mod_admin_merge

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

Language: en



Adds functionality to merge two pages together into a single page.

In an interface the *winner* and *loser* can be selected. All connections and properties from the loser are merged into the winner. Properties of the winner are unchanged.

After merging the loser will be deleted. Visits to the deleted page will be redirected to the winner page using a *410 Gone*.

On the admin page editor a side panel is added for opening the merge page.

Accepted Events
---------------

Delegate callbacks:

- `event/2` with `postback` messages: `merge_select`.
- `event/2` with `submit` messages: `merge`.
- `event/2` with `postback_notify` messages: `<<"feedback">>`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1489?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/1489?language=en>)
