Hello guys,
I am trying to test the redirection to www with .htaccess settings:
Redirect to www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.local [NC]
RewriteRule ^(.*)$ https://www.mysite.loca/$1 [L,R=301]
But this won’t work. The redirection is trying to do its work but I get a “too many redirect” message from the browser.
Local version: 5.9.0+4961
Server: Apache
PHP: 7.3.5
MySql: 8.0.16
Wp version: 5.5.1
OS: Windows 10 Family edition
I must precise that I already have a redirect to https rule settings in the .htaccess that is working fine.
Anyone has ever encountered this problem?
Thank you