Installation of the CleanTalk Anti-Spam Extension in Magento 2.x
Go to your Anti-Spam Dashboard
Installation CleanTalk Anti-Spam for Magento 2 from Marketplace
1. Make backup copies of your website files and database.
2. Go to the CleanTalk Anti-Spam Plugin page on the Magento Marketplace. Choose your store version (e.g., "2.4") and click Add to Cart.
3. Go to the checkout page here, then click Place Order to complete the purchase.
4. After placing your order, click Install to open your purchase list and follow the next steps on that page.
5. Ensure that your auth.json file includes your public and private keys. You can get your keys from this link.
6. If your keys are ready, you can install the plugin by running the following command from the site root: composer require cleantalk/antispam
7. Activate the module with this command: bin/magento module:enable Cleantalk_Antispam --clear-static-content
8. Update your database by running: bin/magento setup:upgrade
9. Clean the cache with: bin/magento cache:clean
10. If necessary, rebuild static files with: bin/magento setup:static-content:deploy -f
11. Now the installation is complete, you can activate the plugin:
Go to Magento Administrator Panel —> STORES —> Configuration.
12. Then go to GENERAL —> General —> CleanTalk Anti-Spam, choose "Yes" in CleanTalk Enabled. Setup the extension, copy the access key from your CleanTalk Dashboard and paste it in the "Access Key" field. Then press the button "Save Config".
Manual Installation
1. Make backup copies of your website files and database.
2. Download the archive with the anti-spam extension (the link is at the beginning of this page).
3. Place the folder "CleanTalk" and the file "README.md" from the downloaded archive to "/app/code". If you didn't find "code" folder then create it.
The paths must be:
/app/code/CleanTalk
/app/code/README.md
4. Using any text editor open the file "/app/etc/config.php" and add the line 'Cleantalk_Antispam' => 1 to the list.
In some cases to apply settings you may need to run php bin/magento setup:upgrade and then php bin/magento cache:flush in your webserver's console. Do it if you experience some issues.
5. Go to Magento Administrator Panel —> STORES —> Configuration.
6. Then go to GENERAL —> General —> CleanTalk Anti-Spam, choose "Yes" in CleanTalk Enabled. Setup the extension, copy the access key from your CleanTalk Dashboard and paste it in the "Access Key" field. Then press the button "Save Config".
Do a test registration or submit a contact form using the blacklisted e-mail stop_email@example.com.
>>> Do not perform any tests being logged in as an administrator.
How to Add Website to CleanTalk Anti-Spam Dashboard
Please, use this guide to add a website to CleanTalk Anti-Spam Dashboard: https://cleantalk.org/help/add-website
Congratulations. The Anti-Spam is installed!
It would also be interesting
- How to install CleanTalk Anti-Spam in MagentoInstallation of the Anti-Spam extension by CleanTalk in Magento Go to your Anti-Spam Dashboard Register...
- Updating the CleanTalk Anti-Spam Extension on Magento 1.9Magento 1.9: How to Update the CleanTalk Anti-Spam Extension Text version Go to Magento Administrator...