WordPress.org

Ready to get started?Download WordPress

Forums

Subdirectory, bbPress, htaccess issues (8 posts)

  1. NeilKelty
    Member
    Posted 6 years ago #

    I could swear that this is posted somewhere, but over the last hour or so I haven't been able to find it in a search anywhere.

    I am attempting to utilize bbPress at the following location: http://indianafbla.neilkelty.com/forums/

    However, no styles show up there. I belive this is a WordPress .htaccess issue as when I visit the location of the stylesheet I get the WordPress Error Page.

    WordPress is located at: http://indianafbla.neilkelty.com

    .htaccess is as follows in root (http://indianafbla.neilkelty.com):

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

    RESOLVED:

    Simply change .htaccess to following.

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

    I know I had done this before. I just couldn't remember what I had done.

  3. whooami
    Member
    Posted 6 years ago #

    hmm, it appears resolved, since I see a nicely styled bbpress install. :)

  4. NeilKelty
    Member
    Posted 6 years ago #

    Crap, no longer resolved. Try clicking one of the links - is there something I need to add to the .htaccess rule?

  5. whooami
    Member
    Posted 6 years ago #

    actually wait..that regex is wrong.

    Try this:

    RewriteCond %{REQUEST_URI} !/forums(.*)$

  6. Trent Adams
    Member
    Posted 6 years ago #

    I know that if you just use Options +MultiViews in its own .htaccess file in bbPress root up and above the wordpress .htaccess file it usually works. I know there is sometimes a problem when bbPress is in a subdirectory of WP that the folder inherits the attributes of the WP .htaccess file and that screws up bbPress. I can't find the thread on this for the life of me in the bbPress forums, but I know someone changed the permissions on the WP .htaccess and it solved the bbPress issues.

    Trent

  7. NeilKelty
    Member
    Posted 6 years ago #

    LOL.

    Trent,

    Thanks man!

    Looks like I need a lesson in reading directions.

  8. Trent Adams
    Member
    Posted 6 years ago #

    No problem! ;)

    Trent

Topic Closed

This topic has been closed to new replies.

About this Topic