
HTTPS and WWW Redirect (for Drupal)
Drupal 8, Drupal 9, Drupal 10.
Module Development.
This modules lets you easily set your preferred URL. You can choose to redirect users to your preferred domain, either with or without the "www" prefix, and optionally force HTTPS.