using the code your website redirect to HTTPS. You just place below code in your .htaccess file. It will reflect your server within 2 second.
# force ssl
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
# force ssl
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
It Solve my problem in very less time.
ReplyDelete