Feature #29972

Configurable Redirects

Added by Bastian Waidelich about 10 years ago. Updated about 8 years ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
MVC - Routing
Target version:
-
Start date:
2011-09-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

We need a new Entity "Redirect" (in MVC/Web/Routing/Redirect) with the properties sourceUri, destinationUri, hasMoved statusCode and possibly counter and host.
Before a request is matched to package, controller and action, the router should check if a redirect is configured and return the respective redirect headers if that's the case.


Related issues

Related to TYPO3.Flow - Feature #8736: Implement generic Identity RoutePartHandlerResolvedBastian Waidelich

Actions
Related to TYPO3.Flow - Feature #37405: When changing a property wich is used in routing the Link-VH should direkt to the new properties valueUnder Review2012-05-22

Actions
Related to Base Distribution - Task #48291: Redirect management for moved pagesAcceptedTim Kandel2013-05-16

Actions
#1

Updated by Bastian Waidelich about 10 years ago

Additional idea:
ObjectPathMappings can be marked obsolet (triggered when an affected object is changed for instance)
Whenever the IdentityRoutePart comes across an obsolete mapping while resolving an URI, the path segment will be recreated and - if it's different to the one in the repository - a redirect is created.
If an obsolete mapping is found during matching of an URI, the mapping is removed and a redirect with status "gone" created.

#2

Updated by Bastian Waidelich about 10 years ago

  • Target version deleted (1.0.0)
#3

Updated by Bastian Waidelich over 9 years ago

  • Category changed from Object to MVC - Routing
  • Has patch set to No
#4

Updated by Bastian Waidelich almost 9 years ago

Bastian Waidelich wrote:

ObjectPathMappings can be marked obsolet (triggered when an affected object is changed for instance)

For that we could introduce some new annotation that triggers an AOP aspect which updates related ObjectPathMapping records whenever all or specific properties of an object change

#5

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24223

#6

Updated by Tim Kandel about 8 years ago

  • Assignee changed from Bastian Waidelich to Tim Kandel
#7

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24223

Also available in: Atom PDF