DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:symlinking_folders_pages

This is an old revision of the document!


Symlinking folders and pages

Proven by tests, DokuWiki accepts pages contained in folder symlinks. Symlinks may be created through command line on Linux systems; macOS aliases will not work; Windows OS not tested.

After a symlink to a remote folder/page is created anywhere in /data/pages, it is recognized by DokuWiki system and the correspondent namespace/page will be shown in the local instance. The pages are shown as “by external edits”, and the system will create correspondent /data/meta files like *.meta, *.changes, *.indexed. Local edits to symlinked pages will work, saved to the remote folder (although this change will be logged locally and displayed as an “external edit” in the remote side this time). Deletion will also work.

Symlinking can be helpful for sharing a whole namespace of pages, or a single page, across farm animals. You can also use them to create aliases inside the same wiki instance.

tips/symlinking_folders_pages.1522113326.txt.gz · Last modified: 2018-03-27 03:15 by MilchFlasche

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki