Force SSL / https on Typo3's Backend

Written by Zac Vineyard

Pages that contain sensitive forms or serve personal information are many times secure. It is a wide trend on the internet to look for the lock icon on a page to see if your information is secure. Typo3 is no different, especially when it comes to the back end. Sometimes it is appropriate to secure Typo3's back end login page and editing pages. This is done very easily in your server's .htaccess file.

Try adding this code, with your domain, to your root .htaccess file:

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^typo3(/(.*))?$ https://%{HTTP_HOST}/typo3/$1 [R=301,L]

Once working, your /typo3 directory should be secure.