Permalink issues with WordPress and ZenPhoto

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.

Comments

  • acrylian Administrator, Developer
    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.
  • 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?
  • 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.
  • Really need some help with this.

    Should I just drop my fancy re-writes with ZenPhoto? Seems this would make most sense.
  • 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?
Sign In or Register to comment.