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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)