On Tue, Aug 11, 2009 at 6:39 PM, Elaine Ashton<[email protected]> wrote:
> but I will point out that remapping every URL from the current site to
> the new urls is not very realistic.
Why not? What tidbit of obvious-to-you info do you see that makes
such an idea unrealistic?
The website conversion is being done by automated tools, so the set of
redirects can be known exactly at migration time. The list could even
be pruned by community facilitators before it is deployed if you are
concerned about having "too many" - I'd bet there are only a few
"static urls" in each community that need to be kept forever. Even
so, the overhead of having a lot of redirects should be negligible -
after all, the two URL name spaces are completely disjoint, and the
rewrite rules will only trigger when old URLs are accessed. Finally,
its not as if the set of redirects from old to new will grow over
time, or even need any maintenance (see my previous post).
So, I see the cost of doing redirects for every URL on the current site as
Generate a log of page conversion redirects as each page is
migrated to XWiki.
Massage said log and turn it into a set of redirect or rewrite directives
Put the directives into a file or database or ... so that the web
server knows about them.
Restart the web server.
Done.
-John
_______________________________________________
website-discuss mailing list
[email protected]