定制 georgringer/news-redirect-slug-change 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

georgringer/news-redirect-slug-change

最新稳定版本:2.0.0

Composer 安装命令:

composer require georgringer/news-redirect-slug-change

包简介

Generate redirect if the slug changes

README 文档

README

TYPO3 13 Donate

TYPO3 Extension news_redirect_slug_change

This extension generates redirects for EXT:news records if the slug is changed.

Setup

Install the extension just as any other extension as well.

  • Use composer req georgringer/news-redirect-slug-change
  • or from TER

For TYPO3 12 and below, use version 1.2.x

Configuration

The only thing which must be configured is the page which is used as detail page. This can be either done by PageTsConfig with tx_news.redirect.pageId = 456 or within the site configuration. See below for full example.

redirectsNews:
 # Detail page id which can be overruled py pageTsConfig tx_news.redirect.pageId = 456
 pageId: 123
 # Automatically create redirects for news with a new slug (works only in LIVE workspace)
 # (default: true)
 autoCreateRedirects: true
 # Time To Live in days for redirect records to be created - `0` disables TTL, no expiration
 # (default: 0)
 redirectTTL: 30
 # HTTP status code for the redirect, see
 # https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections#Temporary_redirections
 # (default: 307)
 httpStatusCode: 307

Say thanks

If you are using this extension in one of your projects or for a client, please think about sponsoring this extension.

Thanks!

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2022-07-05