• wednesdayNC

    (@wednesdaync)


    I have installed WordPress 3.1 at the root level of a website. There are other applications running in subdirectory folders. For example an application for project tracking is installed under the folder name “projects”.

    The URL mydomain.com works just fine, but the URL mydomain.com/projects resolves to a WordPress 404 page.

    I have searched and found some proposed solutions involving modifying the htaccess file, but nothing I’ve tried actually works. One source suggested the way permalinks are handled in 3.1 is the problem.

    Does anyone have a fix for this?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wednesdayNC

    (@wednesdaync)

    This is the code that is NOT working:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^projects(/|$) - [L,NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter wednesdayNC

    (@wednesdaync)

    I found my answer. In the directories I want wordpress to ignore, I put a .htaccess file containing the following:

    # disable the rewrite engine
    RewriteEngine off

    The subfolders with their own apps all work now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exclude directories from WP rewrite’ is closed to new replies.