PHPackages                             thelia/canonical-url-module - 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. thelia/canonical-url-module

ActiveThelia-module

thelia/canonical-url-module
===========================

2.1.9(1y ago)231.0k↑105%5[2 issues](https://github.com/thelia-modules/CanonicalUrl/issues)1LGPL-3.0+PHP

Since Jan 19Pushed 1y ago3 watchersCompare

[ Source](https://github.com/thelia-modules/CanonicalUrl)[ Packagist](https://packagist.org/packages/thelia/canonical-url-module)[ RSS](/packages/thelia-canonical-url-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (20)Used By (1)

Canonical Url
=============

[](#canonical-url)

This module generates a canonical URL for every page of your shop. Once activated, you'll find a `` tag in the header of your pages.

Examples
--------

[](#examples)

- If the page URL is not rewritten, the canonical URL will contain all the URL parameters. Example for : For URL `http://demo.thelia.net/?view=product&locale=en_US&product_id=18`

    ```

    ```

    Obviously, this is far from ideal. Consider activating URL rewriting !
- When the page URL contains the script name (index.php), it will be removed from the canonical URL. Example, the canonical URL of `http://demo.thelia.net/index.php?view=product&locale=en_US&product_id=18` is :

    ```

    ```

    When a rewritten URL contains parameters, these parameters a removed. For `http://demo.thelia.net/index.php/en_en-your-path.html?page=44`, the canonical URL is :

    ```

    ```
- If the page URL contains a domain which is not the main shop domain, this domain is replaced by the main shop domain. For `http://demo458.thelia.net/index.php/en_en-your-path.html?page=44` the canonical URL is :

    ```

    ```

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is CanonicalUrl.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/canonical-url-module:~2.1

```

Usage
-----

[](#usage)

You just have to activate the module and check the meta tags of your shop.

The canonical will be generated automatically but you can define a canonical url in seo form for each item if you want override the generated url.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~170 days

Total

18

Last Release

585d ago

Major Versions

1.2.1 → 2.0.02021-06-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (13 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (11 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (8 commits)")[![NicolasBarbey](https://avatars.githubusercontent.com/u/26166378?v=4)](https://github.com/NicolasBarbey "NicolasBarbey (4 commits)")[![julescournut](https://avatars.githubusercontent.com/u/26310511?v=4)](https://github.com/julescournut "julescournut (1 commits)")[![Lucanis](https://avatars.githubusercontent.com/u/6052481?v=4)](https://github.com/Lucanis "Lucanis (1 commits)")

---

Tags

canonicalurlthelia

### Embed Badge

![Health badge](/badges/thelia-canonical-url-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-canonical-url-module/health.svg)](https://phpackages.com/packages/thelia-canonical-url-module)
```

PHPackages © 2026

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