ZenphotoCMS Forum
Change the 'zenphoto' folder to 'gallery'? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Change the 'zenphoto' folder to 'gallery'? (/thread-3963.html)



Change the 'zenphoto' folder to 'gallery'? - Beta7 - 2008-10-26

I'm sure that it's easy once you know how to do it, but how do I change site.com/zenphoto to site.com/gallery?

I've tried simply renaming the zenphoto folder and changing
define('WEBPATH', '/gallery');
define('SERVERPATH', '/usr/local/www/vardefitnessdk/www/gallery');
in zp-config.php accordingly, but though the main page that contains the albums' thumbnails work, the individual album does not work.

Can anybody please help? Thanks in advance!




Change the 'zenphoto' folder to 'gallery'? - acrylian - 2008-10-26

The way to do is to rename the folder and then run site.com/gallery/zp-core/setup.php again. THis will also change the rewrite base of the .htaccess file (in case you use mod rewrite).




Change the 'zenphoto' folder to 'gallery'? - Beta7 - 2008-10-27

Thank you very much, acrylian. I should have known that it was easy as this. It now works perfectly!




Change the 'zenphoto' folder to 'gallery'? - navjotjsingh - 2010-02-09

Will the same procedure work if I shift my gallery from url.com/gallery to gallery.url.com ?




Change the 'zenphoto' folder to 'gallery'? - acrylian - 2010-02-09

Yes, create the subdomain, link it to the /gallery folder and rerun setup.