Forum
How do I change global file path?
This might seem basic but I don't use PHP and I'm still new to perch. Illustrated by the point that I still don't know how to find the Diagnostic Report (can't find it in admin settings).
So when I work locally, I create the site 1 level deep like so 'mamp/htdocs/project-name'.
I put the site on the live server and edited the config from:
define('PERCH_LOGINPATH', '/project-name/perch');
to:
define('PERCH_LOGINPATH', '/perch');
and switched all the page locations in the admin.
Everything seems to be running smoothly, apart from perch is still trying to locate the resources folder in /project-name/perch/resources.
How do I change this behaviour please?
Just figured out I need to just go to edit files and re-save to fix the path.
Moving forward though, is there a way to reset all file paths? Like the equivalent of re-saving every resource in order to fix all file paths in one go?
Yes, the Republish button should do that.
I honestly haven't noticed that button until I knew I was looking for it.
Thanks Drew!