Problem after trying to optimize my site for speed

Looks like you messed up your Apache/Nginx config
 
I was using Cloudflare as well. I contacted the support, and they told me to turn off SSL in order to have HTTPS traffic redirect to HTTP
 
If you are using cloudflare then you can use there universal SSL, what is the site built with - custom code or a cms?
 
If you are using cloudflare then you can use there universal SSL, what is the site built with - custom code or a cms?
Wordpress, my site doesn't have SSL, and I don't want it.
 
Wordpress, my site doesn't have SSL, and I don't want it.
Then why are you trying to go to https of your domain - the "s" stands for "secure" = SSL.

Edit: If you don't have SSL, you cannot redirect https traffic to http, you need an SSL certification to even do that.
 
Then why are you trying to go to https of your domain - the "s" stands for "secure" = SSL.

Edit: If you don't have SSL, you cannot redirect https traffic to http, you need an SSL certification to even do that.

I was able before optimization to do that when I did https:// it would redirect to http and I don't have SSL certification
 
I was able before optimization to do that when I did https://domain.com it would redirect to http://domain.com and I don't have SSL certification

You probably accepted a "self-signed" SSL, where you have the option in your browser to accept the SSL at some point, but your users were definitely getting a browser warning that the site was not secure. However if you are/were doing it through cloudflare then that could be the reason it was working - you were using cloudflare's SSL.

Either way, you have to get a proper SSL so you can even do an https to http redirect, since the first https validates the connection.

If you are just using cloudflare turn it off - but there is nothing you can do about redirecting the https to http - unless you get an SSL at some level. You could just use the free letsencrypt's SSL setup, then redirect the traffic to the non-ssl version like you want.
 
Back