My website is offline. Message:
There were too many redirections.
Error Code: INET_E_REDIRECT_FAILED
My website is offline. Message:
There were too many redirections.
Error Code: INET_E_REDIRECT_FAILED
How can I remove the HTTPS redirects in my origin server. (cPanel WHM) ?
Check your .htaccess file and create a Cloudflare Always use HTTPS Page rule
1)Technical support has checked my htaccess file and said: âThere isn´t any redirect code in your accountâs .htaccess file.â.
2)Cloudflare Always use HTTPS: It is on.
The problem still remains.
What are your SSL/TLS settings and what is your domain?
SSL: Full (strict)
Always Use HTTPS: On
Authenticated Origin Pulls: Off
Minimum TLS Version: TLS 1.0 (default)
Opportunistic Encryption: On
Onion Routing: On
TLS 1.3: Enabled
Automatic HTTPS Rewrites: On
Reading here the configuration there seems to be no errors. There must be some redirect rule on the backend.
http://www.internetearte.com.br/
redirects (by Cloudflare) tohttps://www.internetearte.com.br/
https://www.internetearte.com.br/
redirects (by origin server) tohttps://www.internetearte.com.br/index.php
https://www.internetearte.com.br/index.php
redirects (by origin server) tohttp://www.internetearte.com.br/index.php
http://www.internetearte.com.br/index.php
redirects (by Cloudflare) tohttps://www.internetearte.com.br/index.php
Your issue is in the third line. That is for sure a server redirect, done web server side (not via JS or something). So I would guess .htaccess
it is.
It looks like youâre running Wordpress and have it configured to use a site URL of http.
Add these to your wp-config.php file:
define( 'WP_HOME', 'https://www.internetearte.com.br' );
define( 'WP_SITEURL', 'https://www.internetearte.com.br' );
The technical support has created a file to prove that there is no problem with htaccess:
https://www.internetearte.com.br - Problem
https://www.internetearte.com.br/linkhost.php - No problem
I´m not running Wordpress. As a matter of fact, I´m running a model shop PRESTASHOP.
My config.inc.php file:
/* SSL configuration */
define(âPS_SSL_PORTâ, 443);
What do you think?
Based upon the settings you listed, Cloudflare should be fairly transparent regarding connectivityâŚunless you have a Page Rule set up thatâs throwing a wrench into this.
If you go to the Cloudflare Dashboard in your Overview section, use Advanced to âPause Websiteâ and see if it starts working again.
Yes, it works. The site is working again in this test. What should I do now?
Thereâs definitely a Redirect set at your server. No matter how I try to connect to your homepage, it ultimately redirects to Internet & Arte Editora e Hobby
And Cloudflare Full (Strict) SSL will only connect to HTTPS. So thatâs going to cause a redirect loop.
A quick fix would be to set SSL to Flexible. The right fix would be to get your site configured for HTTPS before switching it back to Cloudflare.
I´ve set it to flexible and it didn´t work. How can I configure my website to be Https?
Will the configuration below work?
define( âHOMEâ, âhttps://www.internetearte.com.brâ );
define( âSITEURLâ, âhttps://www.internetearte.com.brâ );
Website is working but SSL is not enabled. I need SSL !!!
Thereâs definitely a redirect set at my server. No matter how I try to connect to my homepage, it ultimately redirects to Internet & Arte Editora e Hobby
Cloudflare Full (Strict) SSL will only connect to HTTPS. So thatâs going to cause a redirect loop.
The right fix would be to get my site configured for HTTPS before switching it back to Cloudflare.
As a matter of fact, the website is a online store PRESTASHOP.
The technical support (LINKHOST - a web host in Brazil) has created a file to prove that there is no problem with my htaccess (when SSL is enabled):
https://www.internetearte.com.br - Problem
https://www.internetearte.com.br/linkhost.php - No problem
/* SSL configuration */
define(â PS_SSL_PORT â, 443);
define( âHOMEâ, âhttps://www.internetearte.com.brâ );
define( âSITEURLâ, âhttps://www.internetearte.com.brâ );
Let me know if you need more information to solve the problem.
As you can see, the pure PHP file works on HTTPS. Your web application itself is redirecting HTTPS to non-HTTPS, youâll need to figure this out somewhere in the pluginâs settings, weâre not familiar with how the application logic works and why itâs redirecting.
#8, the Define Home/SiteURL is for Wordpress, which I thought you were using based upon screenshots I could find for your site. This assumption was incorrect, so that solution wonât work.
It is necessary to set the switch of the online store PRESTASHOP in the ON position for SSL. If not, PRESTASHOP prevents HTTPS.
This topic was automatically closed after 14 days. New replies are no longer allowed.