I'm using Drupal 6 on a website and trying to configure SSL for it.

I installed the Secure Pages module. However I can't figure out the following things:

  • How to give secure pages to all anonymous users and admin.
  • How to secure all pages of my site in the settings.

The documentation is not extensive.

Please help as I've spent half the day trying to fix this.


If I recall, SecurePages has an easy config to enforce HTTPS for everyone on all paths. Check the README.

You could also ditch SecurePages and force all traffic to HTTPS via .htaccess.

  • I checked every text file in the tar file of the module and no documentation exists. Secondly I've read the documentation on drupal.org and there is no mention on how to make all pages secure. Also anonymous users are not getting secure pages. Anyone how do I do it via .htaccess? Thanks! – user3236765 Mar 27 '17 at 13:52
  • Anyways, it's a mess... not working at all. – user3236765 Mar 27 '17 at 14:14
  • I vaguely recall that version of the module having issues with that switch. For .htaccess, see something like: drupal.org/node/336490#comment-1116644 – Kevin Mar 27 '17 at 14:19
  • So I got this and it's working ssl for www.example.com/user how do I modify the htaccess file to allow all pages to be secure? Here is the htaccess on that page, please modify for my purpose. Thanks – user3236765 Mar 27 '17 at 14:27
  • Here is the link drupal.org/node/336490#comment-2329294 – user3236765 Mar 27 '17 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.