To make the website secure use SSL . If you purchased the SSL certificate later then you face a issue about how you force all website traffic to use the SSL.
Solution is very simple using APACHE server. On cpanel and Linux server support .htaccess type file.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domainname.com/$1 [R,L]
Make sure from the above code replace the domainname.com to your own domain name.
In window and plesk server you have use the below code.