jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Paige" <bobpa...@gmail.com>
Subject Re: http forwards
Date Tue, 09 Dec 2008 19:42:30 GMT
Cool. This is much better.

Before anyone asks, the only way to edit a page that uses this technique is
to fashion an Edit url (i.e.
http://hostname/jspwiki/Edit.jsp?page=old%20page).

-- 
Bobman

On Tue, Dec 9, 2008 at 2:38 PM, Janne Jalkanen <Janne.Jalkanen@ecyrd.com>wrote:

>
> No need for that even.  Just put
>
> [{SET alias='new name'}] on your old page, and you will be redirected
> automatically.
>
> If it has completely changed servers, then
>
> [{SET redirect='http://new-address/' <http://new-address/%27>}] helps.
>
> /Janne
>
>
> On Dec 9, 2008, at 20:55 , Hobbs, Joseph wrote:
>
>  Bob,
>>
>> The plugin you seek already exists.  Check out RedirectPlugin
>>
>> http://www.jspwiki.org/wiki/RedirectPlugin
>>
>> Joseph Hobbs
>> Lead Technology Architect
>> Enabling Technologies : Technical Services
>> Fifth Third Bank
>> Phone : (513) 534-5908
>> Fax : (513) 534-3408
>> Email : Joseph.Hobbs@53.com
>>
>> -----Original Message-----
>> From: Bob Paige [mailto:bobpaige@gmail.com]
>> Sent: Tuesday, December 09, 2008 1:39 PM
>> To: jspwiki-user@incubator.apache.org
>> Subject: http forwards
>>
>> I am reorganizing some pages in our in-house wiki and realized that it
>> will
>> invalidate any bookmarks created by other team members. I wonder if
>> there is
>> some easy way to have the old URLs forward to the new ones.
>>
>> I'm thinking what I would do is create a page with the old name that
>> forwards to the new page. Short-term solution is to just include a link
>> to
>> the new page and a message saying "we moved it, so click here". But I
>> was
>> hoping to automate it a bit.
>>
>> One possibility is to write a plugin; this I can easily do but would
>> require
>> a little time. Parameter would be the new page name. Output of the
>> plugin
>> would be an http refresh that loads the new page. That way the user
>> doesn't
>> need to click on anything; old bookmarks continue to work.
>>
>> Could the same thing be accomplished with interwiki links? Something
>> like
>> [forward:old page name] and have it output an http refresh tag?
>>
>> Or is there an even better way to do this that I'm not thinking of?
>>
>> --
>> Bobman
>>
>> This e-mail transmission contains information that is confidential and may
>> be privileged.   It is intended only for the addressee(s) named above. If
>> you receive this e-mail in error, please do not read, copy or disseminate it
>> in any manner. If you are not the intended recipient, any disclosure,
>> copying, distribution or use of the contents of this information is
>> prohibited. Please reply to the message immediately by informing the sender
>> that the message was misdirected. After replying, please erase it from your
>> computer system. Your assistance in correcting this error is appreciated.
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message