Page, Form, or Field Exclusion From Anti-Spam Checking
Here is the list of guides for setting up exclusions for the supported CMS.
Inability to exclude some fields
It's technically impossible to exclude "Email" and "Nickname" fields on some forms. If exclusion of these fields is categorically important for you, we recommend the following:
- Disabling of storing of information of approved requests.
- Exclude the page (in this way Anti-Spam protection won't be working)
WordPress ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
WordPress Admin Page —> Settings —> Anti-Spam by CleanTalk —> Advanced settings —> Exclusions. After making all the necessary changes, save changes.
URL exclusions
To exclude a website's page from anti-spam checking add the full URL of the page in the "URL exclusions" field. For example, to exclude http://wordpress.example.com/sample-page/ you need to enter the value http://wordpress.example.com/sample-page/. Use a comma or new lines as a separator if you want to add multiple URLs.
You can use regular expressions to fine-tune exceptions.
For example, if you need to exclude a group of pages from the "some" category:
- example.com/some/thing
- example.com/some/one
- example.com/some/body
- example.com/some2/test
enable the option "Use Regular Expression in URL Exclusions" and enter the word "some" in the "URL exclusions" field — all pages in which the word "some" appears will be excluded from anti-spam checking.
If you want to exclude pages from the "some" category, but not from the "some2" category, you can use a more precise regular expression.
You can use public Internet resources to test your regular expression, for example, Regular Expressions 101. When writing a regular expression, keep in mind that when saving plugin settings, the characters "" and "/" will be cut from the beginning and the end of the line.
Field name exclusions
To exclude fields of the form, add the field name of your form in the "Field name exclusions" field. For example, to exclude the Name field in the standard WordPress comment form, you need to add the value author. You can add multiple fields, separated by commas.
Similar to page exceptions, you can use regular expressions to fine-tune field exceptions by enabling the option "Use Regular Expression in Field Exclusions"
User's groups exclusions
To exclude by role, select a user's group in the list. To select multiple user groups, hold CTRL on your keyboard.
Joomla ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
Joomla Admin Page —> Extensions —> Plugins —> Anti-Spam by CleanTalk —> Exclusions
URL exclusions
To exclude a website's page from anti-spam checking add the URL of the page in the field "URL exclusions". Use a comma as a separator if you want to add multiple URLs.
Field name exclusions
To exclude fields of the form, add the field name of your form in the "Field name exclusions" field. You can add multiple fields, separated by commas.
Important: Exclusion works on forms except for comment and registration forms!
User's groups exclusions
To exclude by role, select a user's group in the list.
Drupal ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
Drupal Admin Page —> Configuration —> Anti-Spam by CleanTalk —> Settings —> Exclusions
URL exclusions
To exclude a website's page from anti-spam checking add the part of the page's URL without the website's domain in the field "URL exclusions". For example, to exclude the page http://example.com/some/ you need to add /same/test. Use a comma as a separator if you want to add multiple URLs.
You can use regular expressions to fine-tune exceptions.
Example 1: If you need to exclude a group of pages from the "some" category:
- example.com/some/thing
- example.com/some/one
- example.com/some/body
- example.com/some2/test
enable the option "RegExp?" and enter the word "some" in the "URL exclusions" field — all pages in which the word "some" appears will be excluded from anti-spam checking.
Example 2: if you want to exclude pages from the "some" category, but not from the "some2" category, you can use the regular expression /some/.
Field name exclusions
To exclude a field of the form, add the field name of your form in the "Field name exclusions" field. You can add multiple fields, separated by commas.
Important: Exclusion works on forms except for comment and registration forms!
User's groups exclusions
To exclude by role, select a user's group in the list. To select multiple user groups, hold CTRL on your keyboard.
Bitrix ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
Settings —> System settings —> Module settings —> Anti-Spam w/o CAPTCHA by CleanTalk
URL exclusions
To exclude a website's page from anti-spam checking add the URL of the page in the field "URL exclusions". Use a comma as a separator if you want to add multiple URLs.
Field name exclusions
To exclude fields of the form, add the field name of your form in the "Field name exclusions" field. You can add multiple fields, separated by commas.
Important: Exclusion works on forms except for comment and registration forms!
Web-form ID exclusion
To exclude webforms, add webforms ID. You can add multiple IDs, separated by commas.
MyBB ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
Settings -> Change Settings -> Anti-Spam by CleanTalk -> Exclusions
URL exclusions
To exclude a website's page from anti-spam checking add the URL of the page in the field "URL exclusions". Use a comma as a separator if you want to add multiple URLs.
User's groups exclusions
To exclude by role, select a user's group in the list. Hold CTRL to select multiple roles.
Magento 2 ![anchor CleanTalk](https://s3.amazonaws.com/cleantalk-screenshots/anchor-icon-30.webp)
You can set up exclusions here:
Admin Panel —> Stores —> Configuration —> General —> General —> CleanTalk Anti-Spam —> Exclude URLs From Checking
Use a comma as a separator if you want to add multiple URLs.
If you haven't found the answer to your question, please, contact our support team:
https://cleantalk.org/my/support/open