I added an SSL to my website and have redirected all files to https through .htaccess as I have attached the code.
My issue is if someone clicks a backlink of mine that has http Eg. http://www.example.com/example/example it redirects to https://www.example.com/plus.php which takes you to my homepage. Without http and just www or non www it redirects fine. I don't want to add my website name as spam but if it is helpful to see the issue the site is SexiestPicture.com Everything else works properly any help would be great thank you.
My .htaccess is `Allow from all 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]`