How to Disable LiteSpeed reCAPTCHA Bot Protection on a Website

How to Disable reCAPTCHA Bot Protection on LiteSpeed Web Server


LiteSpeed Web Server's built-in reCAPTCHA protection can sometimes interfere with legitimate user activity, automated tools, or specific site functionality. Site owners can easily disable or bypass this protection for their website (or specific directories) by adding a simple directive to their .htaccess file.

This step-by-step guide shows you exactly how to turn off reCAPTCHA verification using .htaccess.


Step 1: Locate Your .htaccess File

  1. Log in to your hosting control panel (cPanel, Plesk, etc.) or connect via FTP using FileZilla or similar.

  2. Navigate to your website's root directory (usually public_html). Look for the .htaccess file.

If it doesn't exist, you can create a new one.

Tip: The .htaccess file is hidden by default. Make sure your file manager or FTP client is set to show hidden files.


Step 2: Adding the reCAPTCHA Disable Code

  1. Open the .htaccess file in a text editor.

Add the following code at the very top of the file (or in the section where you manage LiteSpeed directives):

<IfModule LiteSpeed>

RewriteRule .* - [E=verifycaptcha:off]

</IfModule>

Important: This will disable reCAPTCHA protection for the entire directory and all subdirectories where this .htaccess file is located.


Step 3: Save and Apply Changes

  1. Save the changes made to the .htaccess file

  2. Clear your browser cache.

  3. Test your website


Can't find what you're looking for?

Create or manage support tickets directly with Micron21

You will need to register a new account if this is the first time lodging a ticket.

If you have previous lodged a ticket either online, email or over the phone you will already have an account. Please reset your password, if you have not logged into the support portal before.

Lodge a ticket Manage existing tickets

Need to send us information securely? Use our Escrow service here

Need more advanced support?

Micron21 provides a comprehensive approach to customer care that starts with a base 24/7 support that is included free with every service we offer - there are no charges to enjoy a basic level of support with Micron21 and you are not restricted in how you contact us to receive assistance any time of day or night.

For those who require more advanced support though, our Customer Care plans and Ad-Hoc support are designed to completely remove the complexity of IT management - from taking full responsibility for your entire infrastructure or tailoring a custom approach, we have the capability and know-how.

 

If you've organised remote assistance from Micron21, click here to connect

w

Sign up for the Micron21 Newsletter