Many sites offer the same content at the same path on HTTP and HTTPS. In this case, Global Redirect presents a canonical link using the current scheme. This creates duplicate content, which is what canonical tries to avoid.

I propose a user-interface option that allows the user to choose between: current scheme, always HTTP, or always HTTPS.

The option takes effect in globaldirect.module on line 240 in the function url(). The optional parameter HTTPS is set to TRUE for always HTTPS, FALSE for always HTTP, and undefined for current scheme.

reference: https://api.drupal.org/api/drupal/includes!common.inc/function/url/7

Comments

andrewz created an issue.