Knowledgebase

How to force SSL redirect? Print

  • 1

If you are trying to redirect your site to "https", place this within your .htaccess file.

Options +FollowSymLinksRewriteEngine OnRewriteCond %{SERVER_PORT} !=443RewriteRule ^ https://[your domain name]%{REQUEST_URI} [R,L]

Was this answer helpful?
Back