PHPackages                             ndx/statamic-simple-redirects - 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. ndx/statamic-simple-redirects

ActiveStatamic-addon

ndx/statamic-simple-redirects
=============================

Simple redirect management for Statamic CMS

v1.0.0(3mo ago)0584↑20%[1 issues](https://github.com/new-data-services/statamic-simple-redirects/issues)proprietaryPHPCI passing

Since Feb 6Pushed 2mo agoCompare

[ Source](https://github.com/new-data-services/statamic-simple-redirects)[ Packagist](https://packagist.org/packages/ndx/statamic-simple-redirects)[ RSS](/packages/ndx-statamic-simple-redirects/feed)WikiDiscussions main Synced 1mo ago

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

Statamic Simple Redirects
=========================

[](#statamic-simple-redirects)

Simple, lightweight redirect management for Statamic CMS.

[![Preview of redirects panel](.github/preview.png)](.github/preview.png)

Overview
--------

[](#overview)

This addon lets you create and manage redirects for 404 pages directly from the Statamic Control Panel. It is simple by design, focusing on the essentials with a clean and straightforward setup.

If you need more advanced features like analytics or automatic redirect creation, take a look at the excellent [Redirect addon](https://github.com/riasvdv/statamic-redirect) by Rias.

Features
--------

[](#features)

- **Native Control Panel UI**
    Seamlessly integrated and visually aligned with Statamic v6
- **Redirect Management**
    Create and manage redirects directly in the Control Panel
- **Flat File &amp; Database Support**
    Works with Statamic’s default flat-file driver and the Eloquent driver
- **Wildcard &amp; Regex Redirects**
    Flexible URL matching for more advanced redirect rules
- **Multi-Site Support**
    Compatible with Statamic multi-site setups
- **CSV Import &amp; Export**
    Easily import and export redirects using CSV files

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

[](#installation)

Require it using Composer:

```
composer require ndx/statamic-simple-redirects
```

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

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag=simple-redirects-config
```

### Storage Drivers

[](#storage-drivers)

By default, redirects are stored as flat files in `content/redirects/`. To switch to database storage, follow these steps:

#### 1. Update the driver configuration

[](#1-update-the-driver-configuration)

```
// config/statamic/redirects.php

'driver' => 'eloquent',
```

#### 2. Publish the migration

[](#2-publish-the-migration)

```
php artisan vendor:publish --tag=simple-redirects-migrations
```

#### 3. Run migrations and clear the cache

[](#3-run-migrations-and-clear-the-cache)

```
php artisan migrate
php artisan cache:clear
```

> **Note:** Switching drivers does not automatically migrate existing redirects. If you have existing flat-file redirects, you'll need to recreate them manually or export them to CSV first and re-import after switching.

How to Use
----------

[](#how-to-use)

### Permissions

[](#permissions)

This addon registers a `manage redirects` permission. For non-admin users, this permission must be enabled in their role before they can access the redirects section.

### Wildcard Redirects

[](#wildcard-redirects)

The default match type supports wildcards using `*`:

- `/old-blog/*` → `/blog/$1`
- `/products/*/details` → `/shop/$1/info`

### Regex Redirects

[](#regex-redirects)

For advanced patterns, enable the Regex option:

- Source: `^/blog/(\d{4})/(.*)$`
- Destination: `/archive/$1/$2`

### Import/Export

[](#importexport)

Redirects can be imported and exported as CSV files directly from the Control Panel.

The importer supports various CSV formats, but at least `source` and `destination` columns are required.

About Us
--------

[](#about-us)

We're a digital agency building web applications with Laravel and websites with Statamic – from initial concept to long-term maintenance.

[new-data-services.de](https://new-data-services.de/)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance84

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfb28a415caf78a674cfb69c847f65805b9fe71005d2d1ce6d241ce74bb6b13b?d=identicon)[new-data-services](/maintainers/new-data-services)

---

Top Contributors

[![heidkaemper](https://avatars.githubusercontent.com/u/10990014?v=4)](https://github.com/heidkaemper "heidkaemper (39 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ndx-statamic-simple-redirects/health.svg)

```
[![Health](https://phpackages.com/badges/ndx-statamic-simple-redirects/health.svg)](https://phpackages.com/packages/ndx-statamic-simple-redirects)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[october/rain

October Rain Library

1601.7M63](/packages/october-rain)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)

PHPackages © 2026

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