thelia / redirection-module
1.0
2015-02-13 15:31 UTC
Requires
- thelia/installer: ~1.1
This package is auto-updated.
Last update: 2024-09-14 21:46:15 UTC
README
此模块增加了从后台创建301重定向的可能,适用于Thelia 2.1。
安装
手动安装
- 将模块复制到
<thelia_root>/local/modules/
目录,并确保模块名称为Redirection。 - 在Thelia管理面板中激活它
Composer
将其添加到主thelia composer.json文件中
composer require thelia/redirection-module:~1.0
使用方法
进入您的后台并激活模块。刷新页面后,您可以在工具下拉菜单中使用“管理重定向”链接。
钩子
该模块使用钩子main.top-menu-tools
来显示重定向管理表的链接。
循环
永久重定向
输入参数
输出参数
示例
{loop type="permanent-redirection" name="permanent-redirection" order="visible,position"} <!-- ... --> {/loop}