There are no redirections in htaccess. If you put, for example, this code:
#RewriteCond %{HTTPS} !=on #RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] then cyclic redirection occurs.
In the configuration site
$force_ssl = '0'; $live_site = 'https://mydomen.google/'; In /libraries/joomla/uri/uri.php in the first if the getInstance $https method in both cases = 's://'
There is also a line in the base method: $live_site = str_replace("http://", "https://", $config->get('live_site'));
There is also a sh404SEF plugin, but I don’t know where to look.
I need to leave https, but change the redirect to 301.
I am not strong in Joomla, so most likely I forgot something.