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.

enter image description here

1 Answer
1

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.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *