Support » Fixing WordPress » Ignore a directory with htaccess ?

  • Hi,

    I’m using the ReWriteEngine to create pretty URLs with WP…

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    and it works great.

    In my root I have the usual wp-content, wp-admin folders, but I also have my ‘zenphoto’ which is a piece of gallery software. And everytime I use the .htaccess code above in my root, it messes up my zenphoto gallery 🙁

    How do I set my Rewrite above to ignore my ‘zenphoto’ folder when it does its rewrite thing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Has anyone done this before. I googled it, but the solutions were not useful for my case.
    I just want to ignore the ‘zenphoto’ folder that is being affected by my .htaccess file.


    If you’re still looking for a solution:

    Create a .htaccess file in the base folder of the tree you want to “free”. In it type: “RewriteEngine Off”.

    Worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ignore a directory with htaccess ?’ is closed to new replies.