PHPackages                             bonnier/wp-bonnier-redirect - 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. bonnier/wp-bonnier-redirect

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

bonnier/wp-bonnier-redirect
===========================

Redirect for Bonnier integration with Custom Permalink and Polylang

4.15.2(1y ago)07.5k[2 PRs](https://github.com/BenjaminMedia/wp-bonnier-redirect/pulls)1PHPPHP &gt;=7.4

Since Aug 28Pushed 1y ago12 watchersCompare

[ Source](https://github.com/BenjaminMedia/wp-bonnier-redirect)[ Packagist](https://packagist.org/packages/bonnier/wp-bonnier-redirect)[ RSS](/packages/bonnier-wp-bonnier-redirect/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (14)Versions (115)Used By (1)

wp-bonnier-redirect
===================

[](#wp-bonnier-redirect)

A requirement to use this plugin is custom-redirects

### Importing

[](#importing)

To import aliases and redirect you must run the following commands

`wp bonnier redirect import redirect GDS-path_redirect-20170814.csv`

and

`wp bonnier redirect import alias GDS-url_alias-20170814.csv`

### Filters

[](#filters)

This plugin exposes the following filters:

`redirect/slug-is-live | Bonnier\WP\Redirect\WPBonnierRedirect::FILTER_SLUG_IS_LIVE`:

Perform your own validation on whether a url is live or not.

```
/**
 * @param bool $isLive The plugins evaluation of whether the url is live or not
 * @param string $url The 'from'-url being saved
 * @param string $locale The locale of the redirect being saved
 * @param WP_Post|WP_Term|null $object The object found by the redirect plugin - null if $isLive == false
 *
 * @return bool
 */
add_filter('redirect/slug-is-live', function (bool $isLive, string $url, string $locale, $object) {
    return $isLive;
}, 10, 4);
```

### Actions

[](#actions)

This plugin exposes the following actions:

`redirect/redirect-saved | Bonnier\WP\Redirect\WPBonnierRedirect::ACTION_REDIRECT_SAVED`:

Register an action, when a new redirect is saved.

```
/**
 * @param Redirect $redirect The newly created redirect
 */
add_filter('redirect/redirect-saved', function (Redirect $redirect) {
    // Do stuff with the newly created Redirect
}, 10);
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~27 days

Recently: every ~90 days

Total

99

Last Release

537d ago

Major Versions

v1.3.14 → 2.0.02018-08-13

1.3.15 → 2.1.02018-11-25

2.2.1 → 3.0.02018-12-12

3.0.0 → 4.0.02019-03-07

PHP version history (2 changes)2.0.0PHP &gt;=7.1

4.13.15PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/737efb54dd51c1c52e71bb30c0292f48675e60282aa0f73272697113542cdbe6?d=identicon)[alfhen](/maintainers/alfhen)

![](https://www.gravatar.com/avatar/ca6dcf9347fa8f4c2ddae4af8a20bd0587db11ce6121cdd62f50ef54a063ca18?d=identicon)[Frozire](/maintainers/Frozire)

![](https://www.gravatar.com/avatar/e124b90b5de8e0e1713f7a002f0ee7e081b0e2313f1375563d7d0f305589c6bd?d=identicon)[lms-it](/maintainers/lms-it)

---

Top Contributors

[![MFlor](https://avatars.githubusercontent.com/u/3704257?v=4)](https://github.com/MFlor "MFlor (133 commits)")[![Frozire](https://avatars.githubusercontent.com/u/6813614?v=4)](https://github.com/Frozire "Frozire (69 commits)")[![alfhen](https://avatars.githubusercontent.com/u/5700924?v=4)](https://github.com/alfhen "alfhen (55 commits)")[![alexchessmaster](https://avatars.githubusercontent.com/u/101429685?v=4)](https://github.com/alexchessmaster "alexchessmaster (45 commits)")[![mrhn](https://avatars.githubusercontent.com/u/5760050?v=4)](https://github.com/mrhn "mrhn (19 commits)")[![186dk](https://avatars.githubusercontent.com/u/21238139?v=4)](https://github.com/186dk "186dk (10 commits)")[![madspaaskesen](https://avatars.githubusercontent.com/u/404800?v=4)](https://github.com/madspaaskesen "madspaaskesen (9 commits)")[![jonastanz](https://avatars.githubusercontent.com/u/12626047?v=4)](https://github.com/jonastanz "jonastanz (4 commits)")[![SorenThorup](https://avatars.githubusercontent.com/u/5878056?v=4)](https://github.com/SorenThorup "SorenThorup (3 commits)")

---

Tags

wordpress-plugin

### Embed Badge

![Health badge](/badges/bonnier-wp-bonnier-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/bonnier-wp-bonnier-redirect/health.svg)](https://phpackages.com/packages/bonnier-wp-bonnier-redirect)
```

###  Alternatives

[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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