Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • Simon Culshaw
    Participant

    @simonculshaw

    Googling seems to indicate that I may have a loop in my .htaccess file, I’m a newbie and would appreciate it if anyone could spot any errors here:

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]

    SecFilterEngine Off
    SecFilterScanPOST Off

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

  • r-a-y
    Keymaster

    @r-a-y

    It could be a problem with your server. However, this most likely means you have a broken link on your site.
    Check your theme for broken images, stylesheets, etc.

    If you have access to the server error log, you can find out specifically which file is the culprit.


    Simon Culshaw
    Participant

    @simonculshaw

    Ray, Thank you for responding, I do have access to the server and got the error message from the error_log which I assume is the Apache error log.

    Please can you let me know if there is another more specific error log that I should look.

    Very grateful for your assistance

    Hi Simon
    No, that’s about as specific (and mysterious) as you’re going to get. If you aren’t using the BP-Default theme (unedited), switch back to it. Does the problem go away?

    If it does, have a look at your actual theme’s functions.php, or post a link to it from pastebin.com


    Simon Culshaw
    Participant

    @simonculshaw

    Ray & Paul, Thank you very much for your time, I shall do some more digging and then post back my findings in case they are useful for someone else in the future.


    msrecko
    Participant

    @msrecko

    Hi, I was solve same problem on my server.

    Just put bellow code in you .htaccess (to stop looping)……

    RewriteCond %{ENV:REDIRECT_STATUS} 200
    RewriteRule .* – [L]

    That’s not an awesome hack, it’d be better for us to understand the root problem.


    adelay
    Participant

    @bones7151

    I’m getting the same error, but I’m noticing that its only showing up when I access any of the admin pages. It seems like anything inside /wp-admin/ is giving me one of these redirect errors. Any thoughts?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Request exceeded the limit of 10 internal redirects due to probable configuration error’ is closed to new replies.
Skip to toolbar