ZenphotoCMS Forum
mod_rewrite issues - 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: mod_rewrite issues (/thread-6533.html)



mod_rewrite issues - Chisa - 2010-02-01

Hi! I'm having a bit of trouble with my URLs. With mod_rewrite enabled the links in the menu of the site I'm working on look pretty, but aren't linking to the right pages. With it turned off it works, but I do want the pretty (and more search friendly?) URLs.

As I can't seem to set the permissions of the .htaccess file so that it can be written to, I'm assuming this is the issue and I have to put in the rule manually? If so, what should I be putting in? Sorry, I really have no idea how to write rules for .htaccess files!

If it helps at all the site is here: http://teresawatts.com/zenphoto/




mod_rewrite issues - acrylian - 2010-02-01

Actually the setup script would generate the .htaccess file as needed by Zenphoto. Remove the one you have and rerun setup.




mod_rewrite issues - sbillard - 2010-02-01

If setup cannot update/write the .htaccess file you will need to take the template from the zp-core folder and edit it to change the rewrite base as appropriate for your installation.




mod_rewrite issues - Chisa - 2010-02-02

Cool, rerunning the setup seems to have worked, thanks!