As the title says, I'm having an error in chrome, I don't know if this is temporary or not however my problem is :
I want to force every single user that access my website to use https://www
I'm using this following code in my htaccess :
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
RewriteRule ^(.*)$ https :// www.mydomain.com/$1 [L,R=301,NC]
Some users in chrome when they access www.mydomain.com the they are redirected to:
https :// www.wwww.mydomain.com
ERR_NAME_NOT_RESOLVED
Duplicate www
But in firefox this problem doesn't happen
What is the best way to force all users of all browsers to use
https :// wwww
I'm using spaces only here, in https and www because of text editor