ssl - http links get redirected wrong https -


i added ssl website , have redirected files https through .htaccess have attached code.
issue if clicks backlink of mine has http eg. http://www.example.com/example/example redirects https://www.example.com/plus.php takes homepage. without http , www or non www redirects fine. don't want add website name spam if helpful see issue site sexiestpicture.com else works great thank you.

my .htaccess `allow directoryindex plus.php index.php index.htm index.html rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . plus.php [l] rewriteengine on rewritecond %{https} off rewriterule ^(.*)$ https://%{http_host}%{request_uri} [l,r=301] rewritecond %{http_user_agent} libwww-perl.* rewriterule .* ? [f,l]` 


Comments