If you want to activate your SSL certificate for your entire website, all you need to do is add the following code to the “.htacess” file in your server’s root folder. This way, visitors to your page will be redirected to “https://”. The most important thing you must not forget is that if there are places on your page where you link to your own site as “http://”, you should update them to “https://”. For example, image files. This applies to *nix servers.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.SITEADINIZ.com/$1 [R,L]

Share your experience
Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.