承接 b13/slash-force 相关项目开发

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

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

b13/slash-force

最新稳定版本:1.1.1

Composer 安装命令:

composer require b13/slash-force

包简介

Forces a slash on URLs by redirecting.

README 文档

README

Whether you configure a page type to end in a slash or not, TYPO3 will always allow you to access the page with or without a trailing slash. This can lead to duplicate content issues, and is generally not a good idea.

This extension will redirect any URL that does not end in a slash to the same URL with a slash if the current page type is configured like this.

Configuration

Install the extension. It will look for any page types in the site configuration, that are configured to end in a slash.

routeEnhancers: PageTypeSuffix: type: PageType default: / index: '' map: /: 0

For these page types, any URL that has a path, that does not end in a slash will be redirected to the same path with a slash.

Credits

This extension was created by Daniel Goerz in 2023 for b13 GmbH, Stuttgart.

Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-01-04