ZenphotoCMS Forum
Wordpress permalink structure and Zenphoto mod_rewrite - 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: Wordpress permalink structure and Zenphoto mod_rewrite (/thread-1413.html)



Wordpress permalink structure and Zenphoto mod_rewrite - flick - 2007-05-03

Hi,
I've tried a search for this but don't seem to be throwing up any relevant results (maybe using the wrong keywords) I have installed ZenPhoto as a subdirectory so http://www.mysite.com/gallery - at the same level as the /wp-content etc. folders for Wordpress.

With the custom permalink on for WP and Zenphoto mod_rewrite set true: If I access the gallery as a visitor (http://www.mysite.com/gallery/) and click on the album name, it gives me a Wordpress 404 error.

With the custom permalink on for WP and Zenphoto mod_rewrite set to false: There is no problem accessing the gallery and images at all.

Ideally I'd like to be able to keep both permalink and mod_rewrite at on/true, so was wondering if anyone could help at all?
Thanks!




Wordpress permalink structure and Zenphoto mod_rewrite - DarrellD - 2007-05-03

Are you sure you changed your .htaccess file inside your /gallery folder to:

RewriteBase /gallery




Wordpress permalink structure and Zenphoto mod_rewrite - flick - 2007-05-03

GameDudeX: You're utterly amazing, thank you!

I hadn't done this at all... how idiotic of me! >_< Thanks for taking the time to reply




Wordpress permalink structure and Zenphoto mod_rewrite - bryanbrazil - 2009-11-24

I'm having the same problem, but I only get the 404 errors in IE. Firefox, Chrome, and Safari are fine.

FYI, I also have Zenphoto installed in my Wordpress root and I do have the Zenphoto .htaccess set to "RewriteBase /gallery"

Any ideas?