Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My Drupal 7 install redirects all non-www traffic to www via the .htaccess file (Apache/2.2.15). I believe me production .htaccess configuration is what ships with Drupal 7.
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Does this cause any issues for Secure Pages running in mixed HTTP/HTTPS mode, or was it designed and implemented to work with non-www to www redirection in mixed HTTP/HTTPS mode?
Thank you in advance for any help!
Comments
Comment #2
guinness74 CreditAttribution: guinness74 commented