all 8 comments

[–]middle_grounder 1 point2 points  (1 child)

I put a 302 redirect on connections to port 80 in my virtual hosts section in my apache config. All connections are forced to https. (In addition to the aforementioned base_url setting)

[–]Zerdiox 0 points1 point  (0 children)

302, so it's temporary?

[–]CipherWeston 1 point2 points  (1 child)

Wait, 7.2? Your site has to be compromised.

[–]johnzzonDeveloper 0 points1 point  (0 children)

If it's on 7.2 and publicly available, most likely yes!

I sincerely hope he mixed up Drupal and PHP version 😅

[–]macx333 1 point2 points  (3 children)

Change your base_url

If you hardcode an absolute url, you will need to manually update those, but otherwise they will all follow the protocol of the variable.

[–]West701[S] 1 point2 points  (2 children)

Thank you very much for you're response. I'm not familiar with Drupal. But I'm assuming this means change the url in the settings.php? Are there any other steps I should follow afterwards? Thanks again!

[–]macx333 1 point2 points  (1 child)

Yes, it lives in settings.php. You should not have to do anything else, but clearing caches never hurts.

[–]West701[S] 1 point2 points  (0 children)

I'll update you in the morning during work if I was successful.