PHPackages                             ameotoko/backend-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. ameotoko/backend-redirect

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

ameotoko/backend-redirect
=========================

v1.0.2(3y ago)268PHP

Since Nov 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ameotoko/backend-redirect)[ Packagist](https://packagist.org/packages/ameotoko/backend-redirect)[ RSS](/packages/ameotoko-backend-redirect/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Backend Redirect
================

[](#backend-redirect)

Backend Redirect Bundle is an extension for [Contao CMS](https://contao.org) version 4.

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

[](#installation)

Use [Composer](https://getcomposer.org) to add the bundle to your Contao application:

```
composer require ameotoko/backend-redirect
```

Usage
-----

[](#usage)

This bundle adds a backend route to your application (`/contao/redirect` by default). You can supply a query string to it, and it will redirect you to a correspondent backend module after adding proper request token and `ref`. If you have to login, you'll be redirected to `/contao/login` first.

Why?
----

[](#why)

Sometimes you might want to let your backend users to access a record editing form, using a direct link, like `/contao?do=members&act=edit&id=42`. For instance, your application might be sending notifications to your editors, where they can click on such a link in the email and proceed directly to editing the record.

Prior to version 5.1, Contao's backend firewall will not let you do it directly – it will force your editors to go through a confirmation screen like this:

[![](screenshot.png?raw=true)](screenshot.png?raw=true)

which is not a good UX for your editors. With this extension, you can give them links like this:

```
https://example.com/contao/redirect?do=user&act=edit&id=1

```

It will redirect to:

```
https://example.com/contao?do=user&act=edit&id=1&rt=a48be7155094538da5fe2.dO1lxYXxmvHGRIblveDcaZfHJMYJpQbWLaMMtb1oO8g.E4QDt-6hwr-pd9Sn8IGROeW2e544_36kcptUx-4QXvodviGcwqvbrv8o9Q

```

*NOTES:*

1. This will only work for idempotent actions that do not directly change or delete database records, such as e.g. `?act=edit`. In other cases, request token will not be added, and Contao's token check will still kick in.
2. Starting from version `5.1`, Contao does not require request token for idempotent actions anymore, so you do not need this bundle (see [contao/contao#5461](https://github.com/contao/contao/pull/5461)).

Configuration
-------------

[](#configuration)

You can customize the URL path using route prefix:

```
# config/routes.yaml
app_redirect:
    resource: '@AmeotokoBackendRedirectBundle/Resources/config/_definition.yaml'
    prefix: /contao/my-redirect
```

The endpoint will now be `https://example.com/contao/my-redirect`.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

1171d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/208b5dfb55f98ebdaf585d99255032fa917dad25b25501154840f9c2862199ee?d=identicon)[ameotoko](/maintainers/ameotoko)

---

Top Contributors

[![ameotoko](https://avatars.githubusercontent.com/u/10257912?v=4)](https://github.com/ameotoko "ameotoko (9 commits)")

### Embed Badge

![Health badge](/badges/ameotoko-backend-redirect/health.svg)

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

###  Alternatives

[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[inspiredminds/contao-wowjs

Integrates WOW.js for Contao content elements and form fields.

1813.0k](/packages/inspiredminds-contao-wowjs)[inspiredminds/contao-glightbox

Contao extension to integrate GLightbox.

1223.3k1](/packages/inspiredminds-contao-glightbox)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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