Member
Member
invision   02-10-2008, 06:39
#1

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.

Administrator
Administrator
acrylian   02-10-2008, 09:04
#2

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.

Member
Member
invision   02-10-2008, 13:39
#3

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?

Member
Member
invision   05-10-2008, 07:38
#4

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.

Member
Member
invision   05-10-2008, 15:55
#5

Really need some help with this.

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

Member
Member
George G.   23-10-2008, 09:45
#6

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?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.