WordPress.org

Ready to get started?Download WordPress

Forums

Ignore a directory with htaccess ? (4 posts)

  1. sincewelastspoke
    Member
    Posted 5 years ago #

    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]
    </IfModule>
    # 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?

  2. sincewelastspoke
    Member
    Posted 5 years ago #

    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.

  3. sincewelastspoke
    Member
    Posted 5 years ago #

    Anyone?

  4. faceleg
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.