ERR_TOO_MANY_REDIRECTS
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
-
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 -
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 -
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 -
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 -
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 -
Hello always the same situation the problem must come from elsewhere. 0 -
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 -
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 -
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.
Comments
9 comments