ZenphotoCMS Forum
Permalink issues with WordPress and ZenPhoto - 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: Permalink issues with WordPress and ZenPhoto (/thread-3789.html)



Permalink issues with WordPress and ZenPhoto - invision - 2008-10-02

Has anyone ever come across this before?

I have my pages like www.test.com/career-opportunities/ using the .htaccess code below.

My zenphoto is located at www.test.com/zenphoto and when I have an .htaccess file, like:

`

BEGIN WordPress


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

END WordPress


`
it messes up my Zenphoto gallery and spits out just bits of raw html.

Is there a workaround so I can still have 'pretty names' on my Wordpress and still use 'zenphoto' folder.




Permalink issues with WordPress and ZenPhoto - acrylian - 2008-10-02

So wordpress is within http://www.test.com/career-opportunities/ and zenphoto in http://www.test.com/zenphoto
The question would be where is the htaccess. you should have two, one in each folder.




Permalink issues with WordPress and ZenPhoto - invision - 2008-10-02

My apologies for the late reply.

My wordpress is in the root, www.test.com. So I've got www.test.com/wp-content, www.test.com/wp-admin etc. 'career-opportunies' is one of the fancy names generated from using the above .htaccess. The .htaccess for this is in the root, www.test.com/.htaccess

My zenphoto is at www.test.com/zenphoto/

Both have their own .htaccess files.

But in my WP .htaccess file, I want to 'ignore' the zenphoto folder. Is this possible?




Permalink issues with WordPress and ZenPhoto - invision - 2008-10-05

Can anyone help?

I basically want to ignore the 'zenphoto' folder, using my .htaccess file, so all the other files/folders are affected, except my zenphoto one.

Root structure:-
wp-content
wp-admin
wp-includes
images
zenphoto

I googled it, but the solutions I've tried so far have not worked.




Permalink issues with WordPress and ZenPhoto - invision - 2008-10-05

Really need some help with this.

Should I just drop my fancy re-writes with ZenPhoto? Seems this would make most sense.




Permalink issues with WordPress and ZenPhoto - George G. - 2008-10-23

I'm having the same problem as invision.

Root structure:
wp-content
wp-admin
wp-includes
images
.htaccess (wordpress)

In images a have all the zenphoto files (albums, zp-core, .htaccess).

The problem is that when I try to access my gallery, just like invision, I get only raw html.

When I try to access the admin settings, I manually type www.test.com/images/admin and the page appears just fine. But when I try to access a different admin option I'm being redirected to www.test.com/zp-core

I changed the base-rewrite rule in the zenphoto htaccess to /images but nothing changed. I also set the rewrite mode to OFF but I had the same problem.
I even tried to include the rewrite rules of zenphoto in the wordpress htaccess. Nothing worked.

Is there any work-around for this problem?