Redirecting pages

View: New views
2 Messages — Rating Filter:   Alert me  

Redirecting pages

by Weijian Fang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

We had a bunch of wiki pages, and let them be called "TESTPage001,
TESTPage002, ... TESTPage100". Now they all have been stripped off the
"TEST" page name prefix. So they become "Page001, Page002, ...
Page100". Because there are links outside our wiki pointing to the old
page names, somehow we want to maintain the vadility of old page
names. Is there any plugin I can use to achieve this: given a request
for "/wiki/TESTPage001", a page "Page001" will be automatically
returned.

If no such thing available, what is the best way to implement it? Many thanks!

Cheers,

Weijian

Re: Redirecting pages

by Janne Jalkanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Apache mod_rewrite is *just* the tool you're looking for!

/Janne

On Jul 8, 2008, at 19:23 , Weijian Fang wrote:

> Hi,
>
> We had a bunch of wiki pages, and let them be called "TESTPage001,
> TESTPage002, ... TESTPage100". Now they all have been stripped off the
> "TEST" page name prefix. So they become "Page001, Page002, ...
> Page100". Because there are links outside our wiki pointing to the old
> page names, somehow we want to maintain the vadility of old page
> names. Is there any plugin I can use to achieve this: given a request
> for "/wiki/TESTPage001", a page "Page001" will be automatically
> returned.
>
> If no such thing available, what is the best way to implement it?  
> Many thanks!
>
> Cheers,
>
> Weijian

LightInTheBox - Buy quality products at wholesale price