Page, Form or Field Exclusion From Anti-Spam Checking

 

Here is the list of guides of setting up exclusions for the supported CMS.

 

 

WordPress anchor CleanTalk

Add this string in your "wp-config.php" file before defining database constants:

$cleantalk_url_exclusions = array('url1', 'url2', 'url3');

 

Now, all pages containing strings ‘url1’, ‘url2’, or ‘url3’ will be excluded from anti-spam checking. Remember, that this option will not be applied to registration and comment checking – they are always protected from spam. This is similar to regular expression /.url1./ or wildcard like url1.

For example: If you need to exclude these URLs:

  • example.com/some/thing
  • example.com/some/one
  • example.com/some/body

You should add this line to your "wp-config.php":

$cleantalk_url_exclusions = array('some');

 

 

Joomla anchor CleanTalk

Open the file "custom_config.php" from directory "<Joomla-root-folder>/plugins/system/antispambycleantalk".

 

 • Exclusion for URL:

// Exclude URLs from spam_check. List them separated by commas

private $cleantalk_url_exclusions = '';

 

 • Exclusion for fields:

//Excludes fields from filtering. List them separated by commas

private $cleantalk_fields_exclusions = '';

 

For example: If you need to except these URLs:

  • example.com/some/thing
  • example.com/some/one
  • example.com/some/body

You should add this:

private $cleantalk_url_exclusions = 'some';

Make note, that you can add multiple URLs separated by commas:

private $cleantalk_url_exclusions = 'Url1','Url2','Url3';

 

 

Drupal anchor CleanTalk

Open the file "CleantalkCustomConfig.php" from directory "<Drupal-root-folder>/sites/all/modules/cleantalk/src".

 

 • Exclusion for URL:

// Exclude URLs from spam_check. List them separated by commas

public static $cleantalk_url_exclusions = '';

 

 • Exclusion for fields:

//Excludes fields from filtering. List them separated by commas

public static $cleantalk_fields_exclusions = '';

 

For example: If you need to except these URLs:

  • example.com/some/thing
  • example.com/some/one
  • example.com/some/body

You should add this:

public static $cleantalk_url_exclusions = 'some';

Make note, that you can add multiple URLs separated by commas:

public static $cleantalk_url_exclusions = 'Url1','Url2','Url3';

 

 

Bitrix anchor CleanTalk

Go to the module folder and open the file "custom_config.php". Then add your page names separated by commas:

private $cleantalk_url_exclusions = '';

 

Example:

If you need to exclude the following pages:

  • example.com/some/thing
  • example.com/some/one
  • example.com/some/body

Simply add this line:

$cleantalk_url_exclusions = 'some';