Problems with SSL redirects

Avatar
  • Answered
Here's part of the email sent by your support who weren't able to resolve the issue ," Unfortunately we were unable to resolve the issue. You will see that we updated the public_html/.htaccess file at the top to correctly redirect users to use https:// for your site. The issue is that your Drupal site appears to keep serving content on http://example.com. This is contradictory to the base_url setting in public_html/.../setting.php where it is set to https://www.example.com. "
The redirect used to work before. Any advice is appreciated. Thank you.
Avatar
Arn
Hello, Sorry for the problems with SSL redirects in your Drupal site. As we cannot make changes on your server, we can only provide advice that may help resolve the issue. First, make sure that you do not have multiple re-direct statements in your .htaccess file(s). And yes, there may be more than one .htaccess file. If one of them is in a directory above the other, then it will take precedent - so you need to check them all. .htaccess files are read in top-to-bottom order, so if there is a redirect at the top of an .htaccess file and then one further down, then the one further down will take effect. I hope that is clear - I understand that it can be confusing. Additionally, Drupal has its own process for using SSL. Double-check their documentation to make sure that all the steps were followed appropiately. If you have any further questions, please let us know. Kindest regards, Arnel C.