[theforum] weo 2b: to OSS or not?

Garrett Coakley garrett at polytechnic.co.uk
Tue Nov 9 07:09:44 CST 2004


On Tuesday, November 9, 2004  @518, Madhu Menon wrote:

>Will you be able to build a script that will perform the correct 
>redirections? You'll have to build a lookup table that has all the old IDs 
>and the new ones, and then do a 301 to the new URLs. But for that, you will 
>need to know which is the new ID for each old article.

Yes.

Without committing to an exact explanation right now (as we're not in
that phase yet and there are a couple of ways of doing this) we'll be
looking at generating a file at import time which will give us the new
nodeID mapped to the old attributes (catID, ArticleID, plus anything else
we think might need) in a structured format.

Then we use some scripting kung-fu to convert that file into a RewriteMap
that mod_rewrite can interrogate.

G.


-- 
------------------------------------------------------------------------
         Work : http://www.gencon.co.uk
         Play : http://polytechnic.co.uk
        Learn : http://evolt.org




More information about the theforum mailing list