承接 wazum/umleitung 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wazum/umleitung

Composer 安装命令:

composer require wazum/umleitung

包简介

TYPO3 CMS Redirects site base agnostic and with fuzzy target

README 文档

README

TYPO3 CMS Redirects site base agnostic and with fuzzy target

Installation

Add the extension with composer

composer require wazum/umleitung

The extension has no settings, just activate it and you're done.

What does it do?

Site base agnostic redirects

The default TYPO3 redirect middleware is inserted after the site base resolver middleware, therefore it's impossible to add a redirect without a language prefix if all of your sites have one configured.

E.g. you have two Sites configured with

/en
/de

and your marketing department tells you to add a redirect without a language specific prefix for

https://big-company.com/new-product/  -> https://big-company.com/en/products/security/brand-new/

and you know how these guys work … they'll change their mind next month and call you again to adapt the redirect then, so you don't want to add the rewrite on the server.

Until now you'll always get a 404 not found because the Site base can't be resolved and that happens always before the redirect handling.

This extension changes the order of middlewares and inserts the redirect handling before the site base resolving to make this work.

Fuzzy target redirects

The extension adds a new field to redirects where you can append a fuzzy target for the redirect.

Lets say you are in the middle of a relaunch and have the following structure:

/institute-a/standard/about
/institute-a/standard/team
/institute-a/standard/contact

and your boss tells you to move all those pages to

/institute-a/special/…

after the relaunch.

Either you create all these rewrites on the server (nginx, Apache) or you create redirects in TYPO3 for every single page.

This is tedious work, so now you simply set a regular expression to match:

#^/institute-a/normal/?(.*)$#

and specify the first matched group to append:

/$1

in the new field and you're done.

Keep in mind that you have to take care, that the sub pages exist and have the same path as before. But since this should only be a temporary solution for a while, this shouldn't be a problem.

Fuzzy redirect target

统计信息

  • 总下载量: 125
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2020-03-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固