A simple way to add 301/302 redirects within CraftCMS.

Related tags

Laravel redirector
Overview

Redirector plugin for Craft CMS 3.x

A simple way to add 301/302 redirects within CraftCMS. This is the first CraftCMS plugin written by myself so please do let me know any bugs you may find.

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require jaetooledev/redirector
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Redirector.

Redirector Overview

Are you wanting to implement some 301 and/or 302 redirects within your CraftCMS projects? If so, Redirector provides a simple utility to make that happen. You can redirect to internal and external links and (coming soon) interact with Redirector via GraphQL.

Redirector Roadmap

Some things to do, and ideas for potential features:

  • GraphQL support
  • CSV uploading
  • Using datatables to display redirects
  • Analytics support
  • Event emitting
  • More translations
  • Cleaning codebase
  • Adding tests

Brought to you by Jae Toole

You might also like...
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.

Webdevetc BlogEtc - Complete Laravel Blog Package Quickly add a blog with admin panel to your existing Laravel project. It has everything included (ro

Simple address and contact management for Laravel with automatically geocoding to add longitude and latitude

Laravel Addresses Simple address and contact management for Laravel with automatically geocoding to add longitude and latitude. Installation Require t

 Laravel Logable is a simple way to log http request in your Laravel application.
Laravel Logable is a simple way to log http request in your Laravel application.

Laravel Logable is a simple way to log http request in your Laravel application. Requirements php = 7.4 Laravel version = 6.0 Installation composer

Kalibrant - a package that provides a simple way to manage your models settings
Kalibrant - a package that provides a simple way to manage your models settings

Introduction For your laravel 9.x applications, Kalibrant is a package that provides a simple way to manage your models settings. It is a simple way t

A simple way to generate files from stubs.

STUBBY A simple way to generate files from stubs. Usage For example we have a stub file that looks like this: ?php namespace {{ namespace }}; use A

This package aims to help you standardize all your API responses in a simple and structured way.

Laravel API Response This package aims to help you standardize all your API responses in a simple and structured way. By default, the stucture of the

Otpify is a Laravel package that provides a simple and elegant way to generate and validate one time passwords.

Laravel Otpify 🔑 Introduction Otpify is a Laravel package that provides a simple and elegant way to generate and validate one time passwords. Install

Add tags and taggable behaviour to your Laravel app
Add tags and taggable behaviour to your Laravel app

Add tags and taggable behaviour to a Laravel app This package offers taggable behaviour for your models. After the package is installed the only thing

Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
Comments
  • Adding Tests

    Adding Tests

    Currently (for my sins) the project has 0 tests. This is due to my own inexperience with testing in Yii. I plan on learning a bit more and implementing these however if someone can write some simple coverage tests in the mean time I'd appriciate that!

    enhancement good first issue 
    opened by jaetoole 0
  • Implement CSV Importer

    Implement CSV Importer

    For people with hundreds to thousands of redirects (coming from PropTech, this is easily into the thousands if not tens of thousands), it would be useful to have a CSV importer so that adding redirects isn't a manual process or involves faffing about with the database. A big consideration is the fact it should be able to cope with a lot of data.

    enhancement good first issue 
    opened by jaetoole 0
  • Enable GraphQL Support

    Enable GraphQL Support

    For at least our implementation of this, we would like the ability to expose a GraphQL schema in order to redirect dynamically from a Next based frontend.

    enhancement 
    opened by jaetoole 0
Releases(1.0.0)
  • 1.0.0(Nov 25, 2021)

    This is the first release of Redirector, while I am confident this will work, I am not recommending it for use in non-production environments just yet.

    Source code(tar.gz)
    Source code(zip)
Owner
Jae Toole
PHP Developer, Dad, Tinkerer
Jae Toole
Add Server-Timing header information from within your Laravel apps.

Laravel Server Timings Add Server-Timing header information from within your Laravel apps. Installation You can install the package via composer: comp

Beyond Code 498 Dec 15, 2022
Laravel package for manage your URL redirects in database or other sources to get better SEO results

Laravel 8 and 9 package to manage URL redirections inside your Laravel application using different data sources. It allows a better SEO support for your Laravel site.

Siro Díaz Palazón 51 Sep 21, 2022
A Laravel URL Shortener package that provides URL redirects with optionally protected URL password, URL expiration, open limits before expiration

A Laravel URL Shortener package that provides URL redirects with optionally protected URL password, URL expiration, open limits before expiration, ability to set feature activation dates, and click tracking out of the box for your Laravel applications.

YorCreative 53 Jan 4, 2023
Laravel Breadcrumbs - An easy way to add breadcrumbs to your @Laravel app.

Introduction Breadcrumbs display a list of links indicating the position of the current page in the whole site hierarchy. For example, breadcrumbs lik

Alexandr Chernyaev 269 Dec 21, 2022
An easy way to add colors in your CLI scripts.

COLORS Here is a preview of what you can achieve with the library: Installation Installation via composer is highly recommended. { "require": {

Kevin Le Brun 335 Dec 4, 2022
Laravel-tagmanager - An easier way to add Google Tag Manager to your Laravel application.

Laravel TagManager An easier way to add Google Tag Manager to your Laravel application. Including recommended GTM events support. Requirements Laravel

Label84 16 Nov 23, 2022
Entrust is a succinct and flexible way to add Role-based Permissions to Laravel 5.

ENTRUST (Laravel 5 Package) Entrust is a succinct and flexible way to add Role-based Permissions to Laravel 5. If you are looking for the Laravel 4 ve

Zizaco 6.1k Dec 31, 2022
Use Nanoids within your laravel application.

Laravel Nanoid Introduction A simple drop-in solution for providing nanoid support for the IDs of your Eloquent models. (Stripe-like IDs) Installing c

Malico 8 May 17, 2022
Textpattern-jquery-ui-theme - The jQuery UI theme used within the Textpattern CMS admin-side.

Textpattern jQuery UI theme The jQuery UI theme used within the Textpattern CMS admin-side. Supported web browsers Chrome, Edge, Firefox, Safari and O

Textpattern CMS 12 Jan 10, 2022
Manage meta data based on URL path within your app.

Laravel SEO Manager This package provides simple functionality to manage SEO tags based on URL path within your Laravel application. You can put the U

Michael Rubel 20 Oct 20, 2022