PHPackages                             adcetera/https\_www\_redirects - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. adcetera/https\_www\_redirects

ActiveDrupal-module[Security](/categories/security)

adcetera/https\_www\_redirects
==============================

HTTPS/WWW Redirects - Allows site admins to force a site to use HTTPS, WWW or both.

0186PHP

Since Jul 8Pushed 3y agoCompare

[ Source](https://github.com/adcetera/DRUPAL-MODULE-https_www_redirects)[ Packagist](https://packagist.org/packages/adcetera/https_www_redirects)[ RSS](/packages/adcetera-https-www-redirects/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

HTTPS/WWW Redirect Module
=========================

[](#httpswww-redirect-module)

This module allows site admins to force a site to use "https," "www," or both in URLs.

### Note

[](#note)

- After saving the configuration, Drupal's cache will be flushed.
- After saving, you may be logged out of Drupal as the site's domain or scheme may have changed based on settings applied.

Overrides
---------

[](#overrides)

Both settings (forced HTTPS or WWW) can be overridden in either the module configuration page or in the settings.php file.

### Overriding in settings.php

[](#overriding-in-settingsphp)

To override either setting, add the following to the bottom of the settings.php file:

```
/**
 * Ignore forced https
 */
$config['https_www_redirects.settings']['bypass_https_hosts'] = [
  'example.org',
  'example.com',
];

/**
 * Ignore forced www
 */
$config['https_www_redirects.settings']['bypass_www_hosts'] = [
  'local.lndo.site',
  'example.org'
];
```

### Note

[](#note-1)

- By default, 'localhost' or '127.0.0.1' hosts will be excluded from redirection settings in the module.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33530244?v=4)[Kyle Regan](/maintainers/ktrregan)[@ktrregan](https://github.com/ktrregan)

---

Top Contributors

[![ktrregan](https://avatars.githubusercontent.com/u/33530244?v=4)](https://github.com/ktrregan "ktrregan (1 commits)")

### Embed Badge

![Health badge](/badges/adcetera-https-www-redirects/health.svg)

```
[![Health](https://phpackages.com/badges/adcetera-https-www-redirects/health.svg)](https://phpackages.com/packages/adcetera-https-www-redirects)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
