Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ERR_TOO_MANY_REDIRECTS

Discussion in 'General Discussion' started by Ariaratnam Arulananthan, Jan 22, 2018.

  1. Ariaratnam Arulananthan

    Joined:
    Jan 22, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hello I have a website hosted under cpanel.
    when I try to enter the site in the address bar I come across a page saying:
    This page does not work
    ********.net has redirected you too many times.
    Try to delete cookies ..
    ERR_TOO_MANY_REDIRECTS

    Help me please
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Ariaratnam Arulananthan

    Joined:
    Jan 22, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hello here is the content of .htaccess:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <Limit GET POST>

    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

    </Limit>






    Options -Indexes
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. Ariaratnam Arulananthan

    Joined:
    Jan 22, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hello sorry for this time to answer.
    I could not find my subject again.


    How to disable these rules ??
    Thank you for your help.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,067
    Likes Received:
    348
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  7. Ariaratnam Arulananthan

    Joined:
    Jan 22, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hello always the same situation the problem must come from elsewhere.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,067
    Likes Received:
    348
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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?
     
  9. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    86
    Likes Received:
    13
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page