only i when write www.toptangiy.com not redirecting to https://www.toptangiy.com i am need www.toptangiy.com and toptangiy.com both of them redirecting to https://www.toptangiy.com
this is my htaccess
I need your help
Code: Select all
RewriteEngine On
RewriteCond !{HTTPS} off
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]