I’ve changed the WP site URL to include https://www
& it’s been a while. Entire site is correctly reflecting it.
But unless I add following in .htaccess, the home page does not redirect
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
But, in case htaccess goes corrupt & gets regenerated, it skips this part.
Then http://domain.com
does not redirect to http://wwww.domain.com
Even if that part was added within
# BEGIN WordPress
here
# END WordPress
The problem is only with the homepage. Nothing else.
What am I missing?
TIA