Code Monkey home page Code Monkey logo

craft-plugin-redirect's Introduction

Craft CMS 4.x Redirect Manager

Craft plugin that provides an easy way to enter and maintain 301 and 302 redirects. The plugin provides a clear user interface for admin and non-admin users.

This is particularly useful if you are migrating pages from an old website and want to avoid dead links and want to keep the page ranks for the SEO. But also useful if you are making (big) changes in the site (url) structure.

The plugin registers and shows the last hit date and hit count per visited redirect.

As a new (experimental) feature the redirect also give you the ability to enable a catch all page to handle all the not existing urls. The plugin will register and count the hits on this not existing pages in a different section and makes it easy to create new redirect rules directly from missed / not existing URLs by simply clicking on the URL.

Note: This plugin may become a paid add-on when the Craft Plugin store becomes available.

Requirements

This plugin requires Craft CMS 4.0 or later.

Installation

Click here for the installation readme.

Example of the redirect overview

Screenshot

Example of the missed URLs overview

Screenshot

Settings screen

Screenshot

Using the Redirect plugin

You can use the Redirect plugin to redirect simple routes but also use it for more advanced route matches. See some examples below.

Simple redirect exact match

Source URL:

oldpage/wont/work/anymore

Destination URL:

newpage/will/work/again

Simple redirect to an other (sub)domain

Source URL:

oldpage/wont/work/anymore

Destination URL:

https://www.newwebsite.com/newpage/will/work/again

More advanced redirect with a parameter

Source URL:

category/<catname>/overview.php

Destination URL:

overview/category/<catname>/index.html

Click here for the complete overview of rule examples.

Redirect Manager Roadmap

Potential features:

  • Dashboard with statistics
  • CSV import/export of the redirects
  • Add a priority property for (partly) overlapping urls

Created by

  • Dolphiq - Johan Zandstra - dolphiq.nl
  • Venveo - Ransom Roberson - venveo.com

Other Contributors

  • 24hoursmedia
  • Mosnar
  • boscho87
  • HelgeSverre
  • ohlincik

craft-plugin-redirect's People

Contributors

johanzandstra avatar rickdegraaf-dq avatar kringkaste avatar dolphiq-allard avatar joshc96 avatar mosnar avatar boscho87 avatar barbarj avatar 24hoursmedia-craftcms avatar brandonkelly avatar helgesverre avatar iparr avatar leigh-ochsner avatar ohlincik avatar robwouters avatar sergeifilippov avatar three-sixty avatar dwheeldo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.