How to force WordPress with SSL connection
Below will be the steps to guide user to force WordPress with https:// connection.
1. Login into WordPress admin dashboard. eg: www.YOURDOMAIN.com/wp-admin
2. Select Settngs-> General
3. Under WordPress Address (URL) and Site Address (URL) update user domain to https://www.YOURDOMAIN.com. The page will be as below:
Now last step to complete the process. Open hosting .htaccess file and update the below code: