ProcessWire module that adapts links and img sources in CKEditor fields when cloning a page or page tree.
ProcessPageCloneAdaptUrls
ProcessWire module that adapts links and img sources in CKEditor fields when cloning a page so the links point to the assets directory of the copy instead of the original.
By default, ProcessWire doesn't touch content in HTML fields (textareas) when cloning a page.
Usage
Make sure that ProcessPageClone is installed. Simply extract the zip package into site/modules, select "Modules" => "Refresh" in the menu and install this module.
License
Released under Mozilla Public License (MPL v2). See the LICENSE file for details.
Caveats
This module is still beta, but you can help out testing it and leaving feedback.
Author
Written 2016 by BitPoet
Install and use modules at your own risk. Always have a site and database backup before installing new modules.