PHPackages                             webino/webino-canonical-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. [Framework](/categories/framework)
4. /
5. webino/webino-canonical-redirect

ActiveLibrary[Framework](/categories/framework)

webino/webino-canonical-redirect
================================

URI Canonicalizer for Zend Framework 2

0.1.1(12y ago)813.1k2New BSD LicensePHPPHP &gt;=5.3.3

Since Dec 6Pushed 8y ago2 watchersCompare

[ Source](https://github.com/webino/WebinoCanonicalRedirect)[ Packagist](https://packagist.org/packages/webino/webino-canonical-redirect)[ Docs](http://github.com/webino/WebinoCanonicalRedirect)[ RSS](/packages/webino-webino-canonical-redirect/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (13)Versions (4)Used By (0)

URI Canonicalizer
 for Zend Framework 2
========================================

[](#uri-canonicalizer--for-zend-framework-2)

[![Build Status](https://camo.githubusercontent.com/70ed8a67a36e6caf0c03f24803f69cfab706ff5c1583ca84615a86d5b82f9de5/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f776562696e6f2f576562696e6f43616e6f6e6963616c52656469726563742e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/webino/WebinoCanonicalRedirect "Develop Build Status")[![Coverage Status](https://camo.githubusercontent.com/a1e30f112d03a4551ff0c899549637249f23d05974f62d58b75d6f18a52598f6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f776562696e6f2f576562696e6f43616e6f6e6963616c52656469726563742f62616467652e706e673f6272616e63683d646576656c6f70)](https://coveralls.io/r/webino/WebinoCanonicalRedirect?branch=develop "Develop Coverage Status")[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5feb13f59c28a9e6dea7e3248ca60eeeae699f1f3f7892cc84202b611c018552/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562696e6f2f576562696e6f43616e6f6e6963616c52656469726563742f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/webino/WebinoCanonicalRedirect/?branch=develop "Quality Score")[![Dependency Status](https://camo.githubusercontent.com/6128e3206cbe3bc7271bb095b77eb112b655482b89ca1bc0f423db5556d1370b/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3532613139636161363332626163336264363030303034302f62616467652e706e67)](https://www.versioneye.com/user/projects/52a19caa632bac3bd6000040 "Develop Dependency Status")
[![Latest Stable Version](https://camo.githubusercontent.com/d58c33d1160510f188c18512c0415c63d7a1f121b501f7ecf65162d372072fce/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d63616e6f6e6963616c2d72656469726563742f762f737461626c652e706e67)](https://packagist.org/packages/webino/webino-canonical-redirect "Latest Stable Version")[![Total Downloads](https://camo.githubusercontent.com/2970a54f4e0a3cb5aefeda546a1028d3c32a022cdfc0c51a9c72031274371c93/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d63616e6f6e6963616c2d72656469726563742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/webino/webino-canonical-redirect "Total Downloads")[![Latest Unstable Version](https://camo.githubusercontent.com/c52c241001319fcf91e8d3a028cd93744725709c6bfedc691cacad96ac4a89cf/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d63616e6f6e6963616c2d72656469726563742f762f756e737461626c652e706e67)](https://packagist.org/packages/webino/webino-canonical-redirect "Latest Unstable Version")[![License](https://camo.githubusercontent.com/431cf1b76eb991710b4e4d0a0f47672ec75da942ec77af2dc4bea49edcde7a09/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d63616e6f6e6963616c2d72656469726563742f6c6963656e73652e737667)](https://packagist.org/packages/webino/webino-canonical-redirect)

Allows you to configure www and trailing slash of your web site canonical URI. If wrong URI format is provided redirects to the canonicalized URI with HTTP 301.

If you can't or don't know how to configure your web server rewrites to handle URI duplicate content, this module is the smart solution.

Features
--------

[](#features)

- Redirects `..domain.tld/index.php` to `..domain.tld`
- Configure site to use www `www.domain.tld` or not `domain.tld`
- Configure site to use trailing slash `..domain.tld/something/` or not `..domain.tld/something`

Setup
-----

[](#setup)

Following steps are necessary to get this module working, considering a zf2-skeleton or very similar application:

1. Run: `php composer.phar require webino/webino-canonical-redirect:dev-develop`
2. Add `WebinoCanonicalRedirect` to the enabled modules list

QuickStart
----------

[](#quickstart)

Copy, paste &amp; override following settings to your configuration:

```
'webino_canonical_redirect' => array(
    'enabled' => true,
    'www'     => false,     // bool = enabled|Use URI with www
    'slash'   => false,     // bool = enabled|Use URI with trailing slash
),

```

Development
-----------

[](#development)

We will appreciate any contributions on development of this module.

Learn [How to develop Webino modules](https://github.com/webino/Webino/wiki/How-to-develop-Webino-module)

Addendum
--------

[](#addendum)

Please, if you are interested in this Zend Framework module report any issues and don't hesitate to contribute.

[Report a bug](https://github.com/webino/WebinoCanonicalRedirect/issues) | [Fork me](https://github.com/webino/WebinoCanonicalRedirect)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

4540d ago

### Community

Maintainers

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

---

Top Contributors

[![bacinsky](https://avatars.githubusercontent.com/u/3078875?v=4)](https://github.com/bacinsky "bacinsky (70 commits)")

---

Tags

frameworkmoduleredirectv2webinowipzendurluriframeworkzendzf2redirectcanonical

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/webino-webino-canonical-redirect/health.svg)

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

###  Alternatives

[webino/webino-image-thumb

Image Thumbnailer for Zend Framework 2

4079.0k](/packages/webino-webino-image-thumb)

PHPackages © 2026

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