Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    htaccess redirect endless loop

    i have u multiply website on wordpress net, after editing the htaccess file and doing some demege This is the error I am getting from browser:

    --ERR_TOO_MANY_REDIRECTS--

    I think its kind of redirect endless loop. Here is my .htaccess file, can anyone help?
    _____________________
    RewriteEngine on


    # BEGIN WordPress
    RewriteBase /
    # uploaded files
    # add a trailing slash to /wp-admin
    # END WordPress
    rewriterule ^index\.php$ - [L]
    rewriterule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    rewriterule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin [R=301,L]
    rewritecond %{REQUEST_FILENAME} -f [OR]
    rewritecond %{REQUEST_FILENAME} -d
    rewriterule ^ - [L]
    rewriterule . index.php [L]

  • #2
    Regular Coder
    Join Date
    Oct 2004
    Posts
    363
    Thanks
    0
    Thanked 18 Times in 18 Posts
    When you visit all URLs?

    You aren't adding a trailing slash to wp-admin URLs.
    Code:
    RewriteEngine on
    
    
    # BEGIN WordPress
    RewriteBase /
    
    # Uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+)$ wp-includes/ms-files.php?file=$2 [L]
    
    # Add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L]
    # END WordPress

  • Users who have thanked schleppel for this post:

    dahsyusdlkh (07-17-2012)

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    this happen with all the URL'S with or without trailing slash


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •