bmalkoc I am using this code, but it doesn't redirect https in first login. But when i refresh the page, it redirects. https://github.com/phanan/htaccess#force-https-behind-a-proxy Code: RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
Pollux Your code has nothing to do with https, it just forces a trailing slash (as the document states).