Skip to main content

ERR_TOO_MANY_REDIRECTS

Comments

9 comments

  • cPanelMichael
    Hello, Could you let us know the contents of the .htaccess file within the account's public_html directory? Ensure to replace references to real domain names with examples. Thank you.
    0
  • Ariaratnam Arulananthan
    Hello here is the content of .htaccess: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] DirectoryIndex index.php order allow,deny #here I have a list of banned ips to avoid that it is long I will not copy ip addresses allow from all Options -Indexes
    0
  • cPanelMichael
    RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

    Hello, You could try temporarily disabling these rewrite rules to see if the issue persists. You may also want to consult with the support team or forums of the script you have installed to see if there are any special configuration settings that utilizes redirects. Additionally, it's likely a good idea to contact your web hosting provider so they can take a closer look at the system. Thank you.
    0
  • Ariaratnam Arulananthan
    Hello sorry for this time to answer. I could not find my subject again. How to disable these rules ?? Thank you for your help.
    0
  • Infopro
    The easiest way to test if the htaccess rules are problematic is to simply rename the .htaccess to .htaccess.txt Renaming the file basically disables it from being read by the system that's looking for .htaccess Once you rename it, clear your browser cache and cookies for the domain and then visit it again.
    0
  • Ariaratnam Arulananthan
    Hello always the same situation the problem must come from elsewhere.
    0
  • Infopro
    Are you using a script like wordpress, for example, on this domain? Create a text file with some text in it, name it test.html and upload it to your account. Are you able to open example.com/test.html normally?
    0
  • Anoop P Alias
    Check whether you use a proxy server like varnish/nginx and see if you have redirect set in there which clash with the Wordpress siteURL or htaccess redirect. Disabling all type of redirect in the proxy/webserver and replying just on the application level (site_url) redirect would work fine
    0
  • Ugur
    I had the same trouble, then I removed this part and fixed it. # BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.3] RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache) RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] # END rlrssslReallySimpleSSL
    0

Please sign in to leave a comment.