Forum

Thread tagged as: Question

Duplicating the pages & it's content in mutiple folders.

I am working for an multilingual website and using strategy one from the following reference: https://docs.grabaperch.com/perch/building/how-do-i-create-a-multilingual-site/ Is there any way possible programmatically that I can copy pages & their respective regions & content to other folder. Such that I can have multiple folder (different language folder) with the same data (pages, regions, content) in it.

Currently pages & regions are getting copied but not the content.

Please help me outta this.

Damian McCracken

Damian McCracken 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

We don't currently have a way to duplicate pages.

okay, I understand perch does not have any in built functionality to do this out of the box, could you suggest some workaround where we can achieve this with some custom PHP Code? May be directly updating the DB or something similar?

Anything that you think we can do (via custom code) that helps us get in right direction would be helpful.

Thanks

Rachel Andrew

Rachel Andrew 394 points
Perch Support

The Perch API is documented here: https://docs.grabaperch.com/api/ this is the only supported way to make additions to Perch.