admin管理员组文章数量:1415491
I have been experiencing a 403 error when passing parameters in the URL of a WordPress website. Has anyone else experienced this and have a solution?
The url being passed is {{website_url}}/contact-us?enquiry_type=1
However, when removing the parameter, I dont get the 403 error.
Your input would be much appreciated.
I have been experiencing a 403 error when passing parameters in the URL of a WordPress website. Has anyone else experienced this and have a solution?
The url being passed is {{website_url}}/contact-us?enquiry_type=1
However, when removing the parameter, I dont get the 403 error.
Your input would be much appreciated.
Share Improve this question asked Sep 2, 2019 at 9:29 DillonsmartDillonsmart 234 bronze badges 3- 2 From a quick search, this is the Cerber Security Plugin. You'll probably have to configure that to be more lenient, or add exceptions for the query string parameter if you can, or ask them. – Rup Commented Sep 2, 2019 at 9:32
- Thanks Rup! That worked. The plugin by default disallows parameters being passed in the URL. – Dillonsmart Commented Sep 2, 2019 at 9:39
- @Rup can you leave that as an answer, identifying the plugin and suggesting it be disabled, and a link to their support? – Tom J Nowell ♦ Commented Sep 2, 2019 at 10:12
1 Answer
Reset to default 2This error is generated by the Cerber Security Plugin. You can add an exception on 'Antispam' under the WP Cerber menu, 'Adjust Antispam engine', 'Query whitelist'. You probably want
{\/contact-us\?enquiry_type=\d+}
for a regular expression to match any numeric enquiry_type value. The relevant documentation is here: Configuring exceptions for the antispam engine.
本文标签: permalinksWordPress 403 issue when passing parameters in the URL
版权声明:本文标题:permalinks - WordPress 403 issue when passing parameters in the URL 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745192245a2646967.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论