r4 - 01 Jun 2006 - 04:42:22 - PeterThoenyYou are here: TWiki >  Codev Web > CoolURIsDontChange > TopicRenamedHandler
Tags:
edinburgh 1 Add my vote for this tag, , create new tag

TopicRenamedHandler

As long as the wiki is internally directed, or on an intranet, nothing is wrong with renaming topics. But when other websites link to specific wiki pages, urls become invalid and you will loose readers. TopicRenamedHandler should help users redirect to the topic they where looking for.

Mechanism

When a user hits a page that does not exist, he is confronted with the page NOTE: This Wiki topic does not exist yet. It could be that the topic never existed, as the page title assumes, or that the topic once existed but the URI (topic title) was changed. Or the topic could have been deleted.

So a better title would be: This Wiki topic could not be found, followed with (in case of renamed page) a table of suggestions (possible redirect pages); in case of deleted page a heading The topic you are looking for was deleted.

It is also possible that the URI the user entered is recognized as entry in the "renamed table" and the user is shown a differently layedout page.

The suggestion table should be generated by TopicRenamedHandler: on every topic renaming, the old topic name and the new name should be stored in a lookup file. When a topic is renamed a second time, the table entry should be updated.

-- ArthurClemens - 24 Mar 2005

ExtractingTopicDataToADatabase mentioned this too.

-- MartinCleaver - 24 Mar 2005

This is related to PluginHandlerForContentMove.

-- PeterThoeny - 01 Jun 2006

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo