Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Currently we have 2 sites using multisite. We have an SSL cert but found it will only work for one domain. I understand that I need to get a different type of SSL that covers multiple domains.
In the meantime, I'm wondering if there is a way to force HTTPS for one domain but force HTTP for the other. Currently we have this in our htaccess which is forcing HTTPS for both domains:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
I'd like to add a directory at the same folder level as sites, themes etc to host a few images. The reason I don't want to put the images in sites\default\files is because we're doing some major drupal overhauls and I don't want the images to go down during that process. Will adding a folder named something like "custom_images" here mess anything up? Thanks!
Edit: Moved to Post Installation forum upon request!
Hi guys. 1. I want my drupal 7 site to be accessible just under https://www.example.com by redirecting all other versions (http:) and 2. I have a second domainexämple.com which sould also be redirected to the main version (example.com).
Witht he default .htaccess I keep running into redirect chains redirecting in several instances: from http:// to https:// and then from https:// to https://www.
So I started fiddling myself with the .htaccess and the best I came up with is this: