Home > Apache

Blog

All Posts filed under Apache



Redirect all non-HTTPS traffic to https using .htaccess

Posted on April 25, 2017 | Filed in Apache

To redirect all non-HTTPS traffic to HTTPS using .htaccess, add the following to your .htaccess file: