Does Secure Pages work with .htaccess non-www to www Redirect?

Created on 13 February 2016, almost 9 years ago
Updated 26 November 2024, 27 days ago

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!

πŸ’¬ Support request
Status

Closed: outdated

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States guinness74

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024