PHPackages                             fritzmg/contao-short-urls - 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. fritzmg/contao-short-urls

Abandoned → [terminal42/contao-url-rewrite](/?search=terminal42%2Fcontao-url-rewrite)ArchivedContao-module[Utility &amp; Helpers](/categories/utility)

fritzmg/contao-short-urls
=========================

Simple extension to provide "Short URLs", i.e. redirects to existing resources which otherwise have a longer URL.

1.3.8(3y ago)1012.3k↑23.5%3[1 issues](https://github.com/fritzmg/contao-short-urls/issues)GPL-2.0-onlyPHPPHP &gt;=5.2

Since Nov 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fritzmg/contao-short-urls)[ Packagist](https://packagist.org/packages/fritzmg/contao-short-urls)[ Docs](http://www.inspiredminds.at)[ RSS](/packages/fritzmg-contao-short-urls/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (23)Used By (0)

Abandoned, use [terminal42/contao-url-rewrite](https://github.com/terminal42/contao-url-rewrite/) instead.

---

[![](https://camo.githubusercontent.com/107cdbc6a67ec677b7459f72c05d13f2de1ea897382420addec98c9d70988496/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f323031392e737667)](https://github.com/fritzmg/contao-short-urls)[![](https://camo.githubusercontent.com/c0cff31ba1bcdacf6f4d85e199c60a3bb4498d0f82fee5b5d02032aa4b95ccd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269747a6d672f636f6e74616f2d73686f72742d75726c732e737667)](https://packagist.org/packages/fritzmg/contao-short-urls)[![](https://camo.githubusercontent.com/9e2e617508bea3ac2923c701374e40f005f5afdb5f4e159d3a36e14e7ea0c068/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269747a6d672f636f6e74616f2d73686f72742d75726c732e737667)](https://packagist.org/packages/fritzmg/contao-short-urls)

Contao Short URLs
=================

[](#contao-short-urls)

Simple extension to provide "Short URLs", i.e. redirects to existing resources which otherwise have a longer URL. For instance you can make redirects like

- `example.org/foo` » `http://www.example.org/lorem/ipsum/dolor.html`
- `example.org/123pdf` » `http://www.example.org/files/lorem/ipsum/dolor.pdf`
- `example.org/abcd` » `http://www.some-other-website.com/foo.html`

without editing the .htaccess file (to insert these redirects as Redirect, RedirectMatch or RewriteRule directives) or changing the server configuration. These redirects can be created in the backend under *Content » Short URLs*.

[![Backend screenshot](https://raw.githubusercontent.com/fritzmg/contao-short-urls/master/screenshot.png)](https://raw.githubusercontent.com/fritzmg/contao-short-urls/master/screenshot.png)

Requirements
------------

[](#requirements)

You need to edit Contao 3's default `.htaccess` file and change it as if you are using URLs without an `.html` suffix. i.e. you have to change these lines:

```
RewriteCond %{REQUEST_FILENAME} !\.(htm|php|js|css|map|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|mp4|webm|ogv|mp3|ogg|oga|eot|otf|tt[cf]|woff2?|svgz?|pdf|gz)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*\.html$ index.php [L]

```

to

```
RewriteCond %{REQUEST_FILENAME} !\.(htm|php|js|css|map|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|mp4|webm|ogv|mp3|ogg|oga|eot|otf|tt[cf]|woff2?|svgz?|pdf|gz)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

```

so that any request (which does not point to a file or directory) is processed by Contao.

Contao 4
--------

[](#contao-4)

No changes to the `.htaccess` are necessary for Contao 4. Also you need to require at least version `^1.3.3` of this extension.

Acknowledgements
----------------

[](#acknowledgements)

Development funded by [Jaeggi &amp; Tschui Grafik Webdesign GmbH](http://www.jaeggitschui.ch/) and [KASTNER Gruppe](http://www.kastner.at/).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~478 days

Total

22

Last Release

1130d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f6ec05570f72d0fcc4d0a4fef2309799d53badf8b30484284e73724661e0d8?d=identicon)[fritzmg](/maintainers/fritzmg)

---

Top Contributors

[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (15 commits)")

---

Tags

contao-moduleurlcontaoredirectrewrite302301

### Embed Badge

![Health badge](/badges/fritzmg-contao-short-urls/health.svg)

```
[![Health](https://phpackages.com/badges/fritzmg-contao-short-urls/health.svg)](https://phpackages.com/packages/fritzmg-contao-short-urls)
```

###  Alternatives

[terminal42/contao-url-rewrite

URL Rewrite bundle for Contao Open Source CMS

15102.5k3](/packages/terminal42-contao-url-rewrite)[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[codefog/contao-haste

haste extension for Contao Open Source CMS

46676.5k171](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)

PHPackages © 2026

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