【发布时间】:2017-09-08 20:20:16
【问题描述】:
在 wordpress 中,我有不想让任何人访问的插件链接,因此我想将它们重定向到我的子主题模板中的 404 模板,我搜索并找不到任何相关内容。
假设链接是:
http://example.com/wordpress/myPlugin/?r=34
http://example.com/wordpress/myPlugin/?r=3
http://example.com/wordpress/myPlugin/?r=
http://example.com/wordpress/myPlugin/?r
http://example.com/wordpress/myPlugin/?
第一个链接的默认响应可以正常工作,但是如上所示更改这些链接会返回泄露文件路径或信息的泄露错误
【问题讨论】:
标签: wordpress redirect woocommerce hook-woocommerce gravityforms