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

本文标签: permalinksWordPress 403 issue when passing parameters in the URL