[dokuwiki] Re: Are symbolic links safe to use for pages?

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 05 Jan 2007 03:09:54 +0000

Jim Seymour wrote:
Forgive me if this is a FAQ, but I couldn't find anything about it in my searches...

Is it "safe" to use symbolic links in the pages to allow for redirection? (dokuwiki is being hosted on a Linux box)

Example: in .../dokuwiki/data/pages, I do the following:

   ln -s page1.txt page2.txt

Dokuwiki will then see it as if there were two pages. However if one is edited, the other will change. I suspect this will cause dokuwiki to do some kind of maintenance behind the scenes, but that seems mostly harmless.

The alternative to this would be something like the "goto" plugin, but this seems simpler to me...

It shouldn't cause any fatal errors. Your change log and attic are likely to be out of sync as each will only carry the edits applied to the page edited.

Personally, I think it would be better to use the redirect plugin.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: