I added some lines into .htaccess like
RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ https://www.domain.com/%{REQUEST_URI} [L,R=301]
or
RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ https://www.domain.com/%{REQUEST_URI} [L,R=301]
but when i typed https://domain.com/en/aaa/bbb/ccc/ddd, it redirect to just https://domain.com/en