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
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.
Using an URL to the file containing folder names or domain names
Create a file "spbct_directory_exclusions.txt" with a list of folders you want to exclude from the security checks.
Example of such file:
ignore me
woocommerce
wordfence
contact-form-7
Then upload it to any public place, copy-paste its URL to the field "Directory exclusions for the malware scanner" and save the plugin settings.
Example:
https://website.com/public/spbct_directory_exclusions.txt
The plugin will recognize the content of the file and inform about it in the tooltip:
The same process could be done with the file "spbct_allowed_domains.txt" that contains a list of domain names you want to exclude. Create it, upload it to any public place, copy-paste its URL to the field "Allowed domains".
Example:
goodwebsite.com
testwebsite.net
notgoogle.org
Joomla
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!
To exclude a field from sending to cloud perform the next steps.
1) Get your source form filed name you want to exclude. Use the browser page source viewer (for example, in Google Chrome press F12).
2) Then set the name into the special field in the plugin settings and save the settings.
Field names could be a regular expression.
User's groups exclusions
To exclude by role, select a user's group in the list.
Drupal
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/test you need to add /some/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
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
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
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
It would also be interesting
- Form Signs to Use to Exclude the Form From Spam CheckingExclude a Website Form by its Form Signs The CleanTalk plugin offers a feature to exclude any...
- How to Check Existing Users and Comments for SpamChecking Existing Users and Comments for Spam Description How to start checking on WordPress How...
- Instructions and Manuals for CleanTalk Plugin and Service UsageGuides and Manuals of Using the CleanTalk Service Here are our guides and manuals on how...