最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

permalinks - WordPress 403 issue when passing parameters in the URL

programmeradmin0浏览0评论

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
Add a comment  | 

1 Answer 1

Reset to default 2

This 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.

发布评论

评论列表(0)

  1. 暂无评论