How to force https?

So I got it working using the following within the htaccess:

Code:
Redirect permanent / https://www.domain.com/

Not sure if this is a good solution, even though it's working. If anyone knows of a better solution I'd be interested in learning. Thanks.
 
Back
Top