承接 tfd/statamic-redirects 相关项目开发

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

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

tfd/statamic-redirects

Composer 安装命令:

composer require tfd/statamic-redirects

包简介

README 文档

README

Redirects is a Statamic addon that allows to easily setup simple redirect rules in the control panel.

Features

This addon allows you to:

  • redirect source URLs to custom URLs or entries
  • define the redirect status code
  • save notes for each redirect to remember later what it was created for

How to Install

Run the following command from your project root:

composer require tfd/statamic-redirects

How to Use

To create a redirect rule go to the new control panel section Tools > Redirects.
You have to provide a source and target URL. To enable the redirect rule you have to activate the Active toggle.
You also can provide notes for your future self or others, e. g. to explain what the redirect rule was made for.

A typical redirect could look like this:

image

This configuration will redirect

You can also provide absolute URLs to redirect to external sites.
Additionally you can select an entry instead of entering a URL and the redirect addon will automatically get redirect to the URL of the entry.

Tip: Do not forget to activate the rule via the toggle switch.

Development Notes

  • Run npm install from the packages root directory
  • Run npm run watch during development
  • After changing js files you have to either
  • Run npm run production at the end to create the distribution files `

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固