ERR_TOO_MANY_REDIRECTS? How can I fix it?
I created web, everything was working but wasn't secured. so I create SSL certificate and I get that error.
trying to change http to https .
I delete all cookies on browser and all recommending think what I find but nothing help. I think that will be something on my server. It is my first website, any help will appreciate.

72 Replies
is it a wordpress site?
if not, whats the tech stack?
it's not wordpress.
But I already fix the problem.
what was the issue?
SSL certificate processing time or java script in HEAD.
that is interesting 🤔
do you think it could be something else?
an ssl certificate doesn't have the power to cause infinite redirects
javascript could do that, but why would it?
it doesn't, but a misconfigured server with an invalid certificate might
yes, but it should fail to connect to https
redirect to a http:// error page for example, which then redirects to a https version
now, that can happen
and it isn't hard to do
how I can fix that? It's happened again today.
I thought it's fix but looks like not.
After activate SSL certificate I get that error.
Any advice? @ἔρως @Jochem
do you have a .htaccess file?
I cant see it in publick_html but I find it in different folder, however .htaccess is empty.
it's posible the SSL certificate need some time to precess all and later will work ?
it shouldn't need any time
are you using a framework or something?
I activate it in the morning and the web is still not working.
web is on Webglobe. do you have experience with that ?
The Network tab will should which pages are redirecting & where they're redirecting to.
There's almost certainly a loop.
what does it say when you activate ssl?
you thing the code is wrong?
is activ and all is green.
and which options does it give?
nobody knows at this point
if I click on the detail all what I can see is
.crt and some text
.key and some text
.chain and some text
and there's no option to automatically redirect http to https?
below detail is small windows what I click and automaticly transfer http:// to https://
is it enabled?
yes it is. but the web is still not working. that
that's strange,
use a different browser to test it
I did and is still the same.
get this message : ERR_TOO_MANY_REDIRECTS
I try even on mobile and still not ok
well, what's in the network tab?
where I can find network tab?
f12
status is 301 on everything.
but where is it redirecting from and into?
Status Code:
301 Moved Permanently
I check sources and there is No resource with given URL found
could be because I change http to https I need change url or something too?
normally, no
I think there will be some small thing what need to be click.
how long take to activate ssl?
all day ?
it doesn't take any time
check sources and there is No resource with given URL found
this will tell you something ??
is it always the same url?
yes is always the same url
this is what ai can see when n network.

You're not looking in the sources tab, you want the headers sent in the
301
response. Double click on one of the pages in the Network tab to see the headers.
(I'm assuming the page names are all the same in the left-hand column you cut off in your picture of the screen. (Use the PrintScreen
key, or Windows+Shift+S
to take a screenshot (unless you're on mobile Discord).))
It looks like a page is redirecting to itself.but the question is why
without knowing how everything was done, it's impossible to know
i presume it is php?
but what I should see at a header?

all the page are t same youo right
It's what you blanked out, the
Location
header. It is the same as the page's url, right?
Your https
page is redirecting to itself.are you using cloudflare pages?
it's just a name of the web page.
or cloudflare for the cache or something?
looks like.
I take this website frome some one else and need to change it.
which plan did you buy?
domain is on webglobe and is webhosting
everything was working, just web wasn't secured soo I active SSL and get this issue.
which plan did you buy?
is there any way how to fix it?
it's free Encrypt Wildcard
with the extremely limited information you're able to give us, i believe the best is for you to contact the host support team
I was thinking about it .
this is not a dig on you or anything, as it is clear you were throwing into the deep-end without even being taught how to walk or breathe
they have access to your server and can diagnose it a lot better
yes I know. it's ok. I been writing code for the web, that's easy and funny but this... domain and hosting. it's first time what I see it.
I was hoping I will find some common issue and will fixit but no. You right I will contact server support.
thanks for help anyway.
the problem is that it can be anything
it can be the code, it may be some obscure configuration somewhere else
it can even be because your cat sneezed
it's even possible that it is a bug in the control panel
they offer a free ssl certificate, somewhere
maybe they can set it up for you
if the support has to be paid, it might be worth just to get rid of the headache
yes I will contact them.
but
it's very weird that if I canceled SSL the web is working but is not secured.
it is super weird, not gonna lie
The SSL redirect is your problem them. It should only be on the
http
site, but appears to be on the https
as well.
I'd guess something is screwy with your host.It's possible. I text to server support. will see what they respond. hope that will be soon.
it can be the host or code
on wordpress, it is super easy to trigger this
on other platforms/frameworks, it might be too
Does Wordpress send a
301
or is it a meta refresh
tag?it's a good question
but both are possible with php
there is no wordpress, I can install like a plug . If that help I can try.
no, it doesn't help
it will probably fuck up everything, in a bad way
you sent the email, just don't touch anything
yeah I will wait. wonder how long take to them to respond. 🤔
i assume a day or 2
problem solved.
they fixed it.
it was my mistake. redirected to my web. they deleted and is ok .
such a mistake. 🤦♂️🤦♂️🤦♂️
it happens
now you know what not to do
you can mark this as solved, by the way - edit the post and add the "✅ solved" tag