DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:howto-rename-pages

This is an old revision of the document!


HOWTO: Rename Pages

:?: Is there a way to rename a page in DokuWiki?

Using a Plugin

The move plugin adds functionality to DokuWiki that allows a simpler way for an administrator to move/rename pages and media. It moves history and fixes backlinks.

Old plugins

For historical references:

  • The pagemove plugin. Moves pages. But some report that it does not work currently and produces a lot of unwanted changes! Predecessor of the Move plugin.
  • The editx plugin moves/renames pages with their history metadata, but does not update any other pages for you. You still have to check/fix backlinks manually.

Just copy & delete page

Renaming would possibly break a lot of links linking to the old page. Since DokuWiki doesn't know which pages link where this cannot be handled by DokuWiki. An easy way to “rename” a page is to simply create the new one and then change the content of the old page to something like this:

Moved to [[newpage]].

Then visit the pages linking to the old page, and update them to refer to the new page. This can be done gradually. Alternatively, use one of the page-redirect plugins listed at: How to make a redirect page?.

Note that the old revisions will not be moved with that page. If you like to move them too, use a plugin.

On the file system

You can also rename/move the txt files in the file system, and the gz files in the attic. This will break links and metadata.

faq/howto-rename-pages.1443206688.txt.gz · Last modified: 2015-09-25 20:44 by 5.77.196.118

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