Multiple Copy Section
Posted: Thu Nov 04, 2010 2:46 pm
Lets say for the sake of argument...
I have an entire site made and ready to go in French. All the pages in the site have an alias that ends in -fr. ex, something-fr somethingelse-fr...
Now what I would like to do is systematically in some PHP code and the db go page by page and recreate the whole entire site one hierarchy number higher. All the pages would be duplicated but I would replace -fr with -nl...
I have searched for something like this and the answer was multi tree copy was not possible. However as I mentioned for the sake of argument what would be the best way?
Could I use the already made copy ability in PHP code and just "copy" each page in a loop changing the parent, hierarchy, and alias?
What would that look like?
I have an entire site made and ready to go in French. All the pages in the site have an alias that ends in -fr. ex, something-fr somethingelse-fr...
Now what I would like to do is systematically in some PHP code and the db go page by page and recreate the whole entire site one hierarchy number higher. All the pages would be duplicated but I would replace -fr with -nl...
I have searched for something like this and the answer was multi tree copy was not possible. However as I mentioned for the sake of argument what would be the best way?
Could I use the already made copy ability in PHP code and just "copy" each page in a loop changing the parent, hierarchy, and alias?
What would that look like?