New answers tagged

0 votes

Prevent Bot traffic with .htaccess on Magento 2?

To prevent bad bot traffic in Magento 2 using .htaccess, you can add the following code to your .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^....
Syed Danish Khawar's user avatar

Top 50 recent answers are included