Options +FollowSymLinks RewriteEngine On # Turn SSL off for everything except login.php (register.php) RewriteCond %{HTTPS} on RewriteCond %{SCRIPT_FILENAME} !\\/l
You can use both login and register in the same condition
RewriteCond %{SCRIPT_FILENAME} !\/(login|register)\.php [NC]