I'm using WordPress and moved to https recently. I've had some issues since with the domain not redirecting properly.Currently it works OK but https://example.com is not redirecting to https://www.example.com.I have tried a lot of ways but I have not been successful so far.Here is my htaccess:RewriteEngine On RewriteCond %{HTTP_HOST} ^example.co.uk [NC]RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.co.uk/$1 [R,L]# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPress# BEGIN rlrssslReallySimpleSSL rsssl_version[2.1.12]# END rlrssslReallySimpleSSL<IfModule mod_expires.c>    ExpiresActive on    ExpiresByType image/jpg access plus 1 month    ExpiresByType image/jpeg access plus 1 month    ExpiresByType image/gif access plus 1 month    ExpiresByType image/png access plus 1 month</IfModule>
Wordpress https://example.com not redirecting to https://www.example.com htaccess
htaccess;wordpress;no www