I get this:
This page does not work
The foro.rmesystems.com page has redirected you too many times.
ERR_TOO_MANY_REDIRECTS
I get this:
This page does not work
The foro.rmesystems.com page has redirected you too many times.
ERR_TOO_MANY_REDIRECTS
Thatâs a .htaccess issue. Please use the code that @UnknownLolz provided, and then if it still does not work after clearing your cache, please share you .htaccess file.
Thanks
Ok, now this rule should work:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I tested it and it seems to be working fine.
Check here: http://sub.tesuto.ga, it should automatically redirect you to a secure https connection.
here is my file and I kept getting the same problem.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^foro.rmesystems.com [NC]
RewriteRule ^(.*)$ https://foro.rmesystems.com/$1 [L,R=301]
# In order for the web server to process this file it must be renamed to ".htaccess"
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
it already redirects to https, but I want that when I put:
https://www.foro.rmesystems.com
redirect me to:
to a site without www
like this example
put:
https://www.blog.rmesystems.com
and it automatically redirects you to: https://blog.rmesystems.com
you can try it
i already did that but i am using cloudflare
What did you do?
I requested the certificate from the certificates area, and installed the certificates from the control panel.
if i pause cloudflare it works normal.
with cloudflare activated it works if I put:
but if I put:
https://www.foro.rmesystems.com
it does not work.
thatâs why I want to redirect: https://www.foro.rmesystems.com
to:
https://foro.rmesystems.com
Is your CF dns correct?
Like the placeholder text says: you can format your messages with BBCode, Markdown or HTML. So feel free to choose whatever markup language is easiest for you. Just please do apply it because pasting code without a code block is basically unintelligible.
The domain www.blog.rmesystems.com
also gives an SSL error to me, but that domain is using Cloudflare. So itâs the certificate data sent by Cloudflare that doesnât work.
I havenât seen this issue before so I donât fully understand why this happens. Maybe Cloudflare doesnât issue SSL for sub-sub-domains? If so, youâre out of luck and canât have HTTPS on that domain.
But you could ask Cloudflare for help about that.
Cloudflareâs Universal SSL Certificates and Unique SSL Certificates only cover the root level domain (example.com) and one subdomain level (* .example.com).
in this case:
https://www.blog.rmesystems.com
it would be a second level.
and the certificate doesnât cover that, but it does cover:
if you put https://blog.rmesystems.com
it works
but if you include www in a subdomain: it doesnât work.
thatâs why I would like that when the user puts:
https://www.foro.rmesystems.com
redirects you to a site without www.
in this case it would be:
I donât know if he let me understand
https://support.cloudflare.com/hc/es-es/articles/200170566-SoluciĂłn-de-errores-de-SSL
Iâm sorry, but thatâs just not how HTTPS works.
If you want to redirect from a HTTPS URL, that HTTPS URL must have a valid SSL certificate. If your browser canât establish a valid SSL connection, it will abort the request to the server, which means you canât redirect that URL.
Think about it: if you could redirect a website without a valid SSL certificate, then someone who hacked your network can intercept, say, the URL of your bank and redirect it to a phishing page. Since the SSL connection needs to be established first, this canât happen.
So if you canât get an SSL certificate on www.foro.rmesystems.com, then https://www.foro.rmesystems.com will ALWAYS return an SSL error. There is no way around it.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.