Forum

Thread tagged as: Question

Deleting the pages from perch database.

Hi,

I have created an app which creates dynamic folders for multiple language and hence the website pages in that languages are placed under the respective language. But when I delete the language from the app, I expect the language folder to be deleted & therefore the web-pages inside it too.

Also if I delete any page too, it's file structure gets deleted but the perch regions still shows up in the list.

Is there any way to update all perch regions i.e. deleted file structures, folder should not show up once deleted?

Damian McCracken

Damian McCracken 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you delete the files on disk, Perch doesn't know they've gone and so they'll still appear in the database.

Okay, so is there any way we can handle this programmatically?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Your app would need to manage it's own data.