SSL Redirect outside of mod_rewrite (.htaccess)!?
Hi All,
I hope I can pick your brains as I'm losing my mind. I've been trying to write some .htaccess code to STOP https redirects for a specific path. The whole site is under SSL which I thought was being controlled by mod_rewrite but its important one URL isn't.
After hours I removed the .htaccess file (in the root of the public_html folder) all together. To my surprise it STILL redirected to https!?
Does anyone know of anywhere else I can look in WHM or server as a whole to see whats causing the forced SSL?
-
Hello, Are you using any CMS scripts for your site? Try to check our site databases for that redirection. If you are using word-press, then you need to check your sites links your wordpress databases. 0 -
Thanks for your reply. It's all bespoke Laravel stuff. I've downloaded and searched the code for redirects. I wonder if the browser can cache redirects? They are all permanent 301 redirects. 0 -
Hello :) Do you have any .htaccess files outside of the account's public_html directory? Thank you. 0 -
Thanks for the reply. There is only one .htaccess file in the public_html folder. 0 -
I completely emptied the public_html folder and only put an index.html file. The domain will still only load under SSL! Is there anywhere I can look in the vhosts config for SSL to be forced? 0 -
It's all bespoke Laravel stuff. I've downloaded and searched the code for redirects.
Can you reproduce the issue if you create a new subdirectory under the public_html directory with a simple HTML file? Thank you.0
Please sign in to leave a comment.
Comments
6 comments