My problem is specific because site redirects are a bit complicated in the www folder with php codes
index.php
<?
header("Location:https://www.example.org/kods_bird/uye/?fsx=@");
?>
this redirect exists and the kods bird folder has the same redirect
my .htaccess, Located in the www folder
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Why is ERR_TOO_MANY_REDIRECTS error?
Which solution am I looking for?
url request:http://www.example.org%{REQUEST_URI}
url redirect:https://www.example.org%{REQUEST_URI}