PHPackages                             iqnection/silverstripe-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iqnection/silverstripe-redirects

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

iqnection/silverstripe-redirects
================================

Provides interface for setting up redirects

1.0.1(5y ago)015[1 issues](https://github.com/iqnection-programming/silverstripe-redirects/issues)BSD-3-ClausePHP

Since Mar 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/iqnection-programming/silverstripe-redirects)[ Packagist](https://packagist.org/packages/iqnection/silverstripe-redirects)[ RSS](/packages/iqnection-silverstripe-redirects/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

SilverStripe Redirects
======================

[](#silverstripe-redirects)

Provides an interface to setup redirects from old URLs to new pages Resolves alternate domains if you're meging sites together Great for setting up 301 redirects when launching a new site with URL changes

Installation
------------

[](#installation)

```
$ composer require iqnection/silverstripe-redirects

```

Run a database rebuild and flush

It's strongly suggested to set the environment variable for your main site URL In your root .env file and add/update the following

```
SS_BASE_URL="https://www.your-domain.com"

```

Usage
-----

[](#usage)

Navigate to Redirects area in the CMS to manage your redirects

Domains will automatically be matched regardless of if "www" is included, or if HTTP or HTTPS.

### Examples:

[](#examples)

Redirect from `example.com` to somewhere Request URLs:

- `example.com` =&gt; redirect match
- `www.example.com` =&gt; redirect match
- `subdomain.example.com` =&gt; no match
- `www.subdomain.example.com` =&gt; no match

Redirect from subdomain `anything.example.com` to somewhere (assuming anything.example.com and example.com resolve to different hosting accounts) Request URLs:

- `example.com` =&gt; redirect match
- `www.example.com` =&gt; no match
- `subdomain.example.com` =&gt; match
- `www.subdomain.example.com` =&gt; redirect match

Redirect from alternate domain `another-example.com` to somewhere on example.com (assuming another-example.com and example.com resolve to the same hosting account) Request URLs:

- `example.com` =&gt; redirect match
- `www.example.com` =&gt; redirect match
- `another-example.com` =&gt; redirect match
- `www.another-example.com` =&gt; redirect match

While the site is in dev mode, all redirects will be 302 regardless of their configuration. This is to keep from the redirects being cached by browsers.

Importing
---------

[](#importing)

Import redirects using the CMS Bulk Import Form Your CSV will need the following column titles

- FromPath: Relative path or full URL of the old page or file
- Destination: Relative path or full URL of the new page or file

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~18 days

Total

2

Last Release

1860d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8713560?v=4)[Mike Eckert](/maintainers/iqmeckert)[@iqmeckert](https://github.com/iqmeckert)

---

Top Contributors

[![iqmeckert](https://avatars.githubusercontent.com/u/8713560?v=4)](https://github.com/iqmeckert "iqmeckert (5 commits)")

---

Tags

iqnection

### Embed Badge

![Health badge](/badges/iqnection-silverstripe-redirects/health.svg)

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

PHPackages © 2026

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