Skip to:

mod_rewrite issue

  • waveslider


    Hey everyone,

    I have a BuddyPress installation working pretty well at I am running WPMU version 2.8.6 and have configured it to use subdirectories. The installation is in the root of the site’s web directory. I am running BuddyPress 1.1.3, and both WPMU & BP were fresh installations. I am using a custom theme but have not modified the core files in any way. I have custom functions. I also have bbPress installed but have no idea how to determine which version.

    The one problem (I’m aware of) right now is that there is evidently an issue with either the .htaccess file or mod_rewrite itself, which causes a redirect to the 404 page whenever I attempt to delete an item from my activity feed at this URL:

    Below is the content of my .htaccess file:

    <br />
    <IfModule mod_rewrite.c><br />
    RewriteEngine On</p>
    <p># Tom: getting max redirects exceeded errors in apache error_log.<br />
    # Increasing from default of 10 in attempt to troubleshoot.<br />
    RewriteOptions MaxRedirects=35</p>
    <p>RewriteBase /</p>
    <p>#uploaded files<br />
    RewriteRule ^(.*/)?files/$ index.php [L]<br />
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*<br />
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]</p>
    <p># add a trailing slash to /wp-admin<br />
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$<br />
    RewriteRule ^(.+)$ $1/ [R=301,L]</p>
    <p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br />
    RewriteCond %{REQUEST_FILENAME} -d<br />
    RewriteRule . - [L]<br />
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]<br />
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]<br />
    RewriteRule . index.php [L,QSA]<br />
    <p><IfModule mod_security.c><br />
    <Files async-upload.php><br />
    SecFilterEngine Off<br />
    SecFilterScanPOST Off<br />
    </Files><br />
    </IfModule><br />

    I am also getting this error from Apache (1.3):

    Request exceeded the limit of 10 internal redirects due to probable configuration error.

    I have googled and searched the forum but haven’t been able to solve this yet on my own. Any help would be greatly appreciated. Thanks in advance.


Viewing 2 replies - 1 through 2 (of 2 total)

  • waveslider



    Jeff Sayre


    Do you have any plugins other the BuddyPress installed? I ask because that is not at all the default .htaccess file configuration.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mod_rewrite issue’ is closed to new replies.
Skip to toolbar