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
Log in to your hosting control panel (cPanel, Plesk, etc.) or connect via FTP using FileZilla or similar.
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
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
Save the changes made to the .htaccess file
Clear your browser cache.
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