Page MenuHomeWrite.as

Support custom redirect rules
Open, Waiting, NormalPublic

Description

Overview

Allow publishers to set a list of redirect rules for their publication.

Users

#fight_back_news

Implementation

Create a system that works similarly to Ghost's. Add a collectionredirects table:

collection_idfromtopermanent

When a page isn't found, look up the from fields and see if any match. If so, redirect by 301 or 302, depending on the permanent bool value.

UI

Users should have a way to add redirects in the admin panel. To start, they'll get access to a JSON input field. To populate this field, we'll query collectionredirects and display the JSON. When saving this data, we'll parse the JSON and then update the database.

Related Objects

StatusAssignedTask
WaitingNone

Event Timeline

matt changed the task status from Open to Waiting.Thu, Feb 18, 1:20 PM
matt created this task.
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
matt added a parent task: Restricted Maniphest Task.Thu, Feb 18, 1:22 PM