log1x / redirection-variables
为流行的WordPress重定向插件提供引用跟踪变量。
v1.0.4
2024-04-01 17:33 UTC
Requires
- php: ^8.1
- illuminate/collections: ^9.0|^10.0|^11.0
- snowplow/referer-parser: ^0.2.0
Requires (Dev)
- laravel/pint: ^1.1
README
Redirection Variables为WordPress插件Redirection、Safe Redirect Manager和Pretty Links添加了一些方便的引用跟踪变量,这些变量可以在创建的重定向中使用。
这可以特别有用,用于从引用帖子/页面传递跟踪数据到联盟链接。
要求
安装
Bedrock
通过Composer安装
$ composer require log1x/redirection-variables
手动
下载发行版 .zip
并安装到 wp-content/plugins
。
用法
一个示例重定向URL目标可能看起来像
/go/google -> https://www.google.com/?example=%source%&example2=%post_name%
变量
错误报告
如果您在Redirection Variables中发现了错误,请提交问题。
贡献
通过PR、报告问题或提出建议进行贡献是受到鼓励并受到赞赏的。
许可证
Redirection Variables在MIT许可证下提供。