PHPackages                             ehaerer/redirect-403 - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ehaerer/redirect-403

ActiveTypo3-cms-extension[Authentication &amp; Authorization](/categories/authentication)

ehaerer/redirect-403
====================

Redirect error 403 to login page or information page

088PHP

Since Mar 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Kephson/redirect_403)[ Packagist](https://packagist.org/packages/ehaerer/redirect-403)[ RSS](/packages/ehaerer-redirect-403/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

TYPO3 Extension `redirect_403`
==============================

[](#typo3-extension-redirect_403)

> Basic redirect error 403 to login page or information page and bring user back to target url after login.

1 Features
----------

[](#1-features)

- Redirect user to login page if not logged in
- Redirect user to information page if logged in but no access to page
- Redirect user after login to target url

2 Usage
-------

[](#2-usage)

### 2.1 Installation

[](#21-installation)

#### Installation using Composer

[](#installation-using-composer)

The recommended way to install the extension is using [Composer](https://getcomposer.org/).

Run the following command within your Composer based TYPO3 project:

```
composer require ehaerer/redirect-403

```

#### Installation as extension from TYPO3 Extension Repository (TER) - not recommended

[](#installation-as-extension-from-typo3-extension-repository-ter---not-recommended)

Download and install the [extension](https://extensions.typo3.org/extension/redirect_403/) with the extension manager module.

### 2.2 Minimal setup

[](#22-minimal-setup)

1. Just install the extension and you are done

3 Report issues
---------------

[](#3-report-issues)

Please report issue directly in the [issue tracker in the Github repository](https://github.com/Kephson/redirect_403).

4 Administration corner
-----------------------

[](#4-administration-corner)

### 4.1 Settings in the site configuration

[](#41-settings-in-the-site-configuration)

- **protectedInfoLink** - Select a page with information why the users has no access here
- **loginPageLink** - Select a page where to find the login module

Your errorHandling configuration should look like this in your **/config/sites/my-site.yaml** file:

```
    errorHandling:
      - errorCode: 403
        errorHandler: PHP
        errorPhpClassFQCN: EHAERER\Redirect403\Error\ErrorHandler
        protectedInfoLink: 't3://page?uid=1'
        loginPageLink: 't3://page?uid=2'

```

### 4.2 Changelog

[](#42-changelog)

Please have a look into the [Github repository](https://github.com/Kephson/redirect_403).

### 4.3 Release Management

[](#43-release-management)

Redirect 403 uses [**semantic versioning**](https://semver.org/), which means, that

- **bugfix updates** (e.g. 1.0.0 =&gt; 1.0.1) just includes small bugfixes or security relevant stuff without breaking changes,
- **minor updates** (e.g. 1.0.0 =&gt; 1.1.0) includes new features and smaller tasks without breaking changes,
- and **major updates** (e.g. 1.0.0 =&gt; 2.0.0) breaking changes wich can be refactorings, features or bugfixes.

### 4.4 Contribution

[](#44-contribution)

**Pull Requests** are gladly welcome! Nevertheless please don't forget to add an issue and connect it to your pull requests. This is very helpful to understand what kind of issue the **PR** is going to solve.

Bugfixes: Please describe what kind of bug your fix solve and give us feedback how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue.

Features: Not every feature is relevant for the bulk of `redirect_403` users. In addition: We don't want to make `redirect_403`even more complicated in usability for an edge case feature. It helps to have a discussion about a new feature before you open a pull request.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance56

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2724872?v=4)[Ephraim Härer](/maintainers/Kephson)[@Kephson](https://github.com/Kephson)

---

Top Contributors

[![Kephson](https://avatars.githubusercontent.com/u/2724872?v=4)](https://github.com/Kephson "Kephson (13 commits)")

### Embed Badge

![Health badge](/badges/ehaerer-redirect-403/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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