How to redirect url requests to https? [closed]

This really belongs on ServerFault, StackOverflow or Webmasters…

But basically, you need to add something along these lines before the WP rules begin:

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

Leave a Comment