ZenphotoCMS Forum
Renaming zenphoto directory - 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: Renaming zenphoto directory (/thread-8698.html)



Renaming zenphoto directory - AlanStalin - 2011-06-07

Hi - I've looked on the forum for an answer but can't seem to find what I'm after.

How do I change the name of the directory zenphoto? Currently I have www.mysite.com/zenphoto/gallery1 I want to change it to www.mysite.com/photos/gallery1. When I change the directoty name on the server to "photos" I am getting a 404 when I try to view "gallery1".

I also changed "RewriteBase /zenphoto" in the htaccess file to "RewriteBase /photos" but I still get the page not found errror.

Should I reinstall everything and call my folder containing all the files "photos" instead of "zenphoto" before I upload?

Thanks in advance...




Renaming zenphoto directory - acrylian - 2011-06-07

Quote:When I change the directoty name on the server to "photos" I am getting a 404 when I try to view "gallery1".
Of course since your rewrite base is /photos/gallery1! IT does not matter how the folder is named. Either you re-run setup after renaming or change the htaccess rewritebase manually.
This is explained on our http://www.zenphoto.org/news/troubleshooting-guide