cecil/theme-redirects 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cecil/theme-redirects

最新稳定版本:1.0.1

Composer 安装命令:

composer require cecil/theme-redirects

包简介

Cecil component theme Redirects

README 文档

README

The Redirects component theme for Cecil provides support of _redirectsfile generation.

After installation and without any configuration, this component theme generate a _redirects file containing HTML's redirections created by Cecil (automatic or created manually with the redirect front matter variable).

Services that support the _redirects file:

Installation

composer require cecil/theme-redirects

Or download the latest archive and uncompress its content in themes/redirects.

Usage

Add redirects in the theme section of your site configuration:

theme:
  - redirects

Add redirections

server:
  redirects:
    - from: https://xxxxxx/*
      to: https://xxxxxx/:splat
      status: 301 # HTTP status code, optional
      force: true # redirect even if the file exists, optional

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-16