---
title: How to disable LiteSpeed connection timeouts
description: LiteSpeed is the web server we use on all our hosting servers instead of Apache. Find out how to disable LiteSpeed connection timeouts here.
---

[Skip to content](https://help.blakemarkdigital.co.uk/how-to-disable-litespeed-connection-timeouts#main-content)

English - United Kingdom

Show submenu for translations

[More support](https://help.blakemarkdigital.co.uk/kb-tickets/new) [Support Portal](https://help.blakemarkdigital.co.uk/support-portal)

[![Blake Mark Digital Logo](https://help.blakemarkdigital.co.uk/hs-fs/hubfs/Asset%205.png?width=200&height=57&name=Asset%205.png)](https://blakemarkproductions.com/)

Open main navigation

Close main navigation

- English - United Kingdom
  
  Show submenu for translations
- [More support](https://help.blakemarkdigital.co.uk/kb-tickets/new)
- [Support Portal](https://help.blakemarkdigital.co.uk/support-portal)
- [Contact Support](https://help.blakemarkproductions.com/support-portal)

[Contact Support](https://help.blakemarkproductions.com/support-portal)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.blakemarkdigital.co.uk/)
2. [Web Hosting](https://help.blakemarkdigital.co.uk/web-hosting)
3. [WordPress](https://help.blakemarkdigital.co.uk/web-hosting#wordpress)

# How to disable LiteSpeed connection timeouts

#### What is LiteSpeed and why are there connection timeouts?

LiteSpeed is the webserver we use on all our hosting servers instead of Apache.

We set a LiteSpeed connection timeout to ensure users with potential scripting issues do not cause long-running processes on our servers. This helps to ensure that users don’t end up with processes stacking up and hitting account limits for the number of processes. However, in some cases you may need to disable this limit while fixing a coding issue or if you simply have a process on the website that exceeds the LiteSpeed timeout.

To disable this you would need to ensure you have a `.htaccess` file in your webspace, ideally in the same folder as the website itself, in most cases this will be the public\_html folder, then within this file, you must add the following code:

```
<IfModule Litespeed>RewriteEngine OnRewriteRule .* - [E=noconntimeout:1]RewriteRule .* - [E=noabort:1]</IfModule>
```

 

Once added you must allow 5 minutes for the changes to apply but at this point, the LiteSpeed timeout limits will no longer be in effect and only PHP timeouts will be applied if set in the [PHP selector](https://knowledge.blakemarkproductions.com/changing-your-php-version-php-extensions-php-functions-and-php-options).

**Note: This will disable the LiteSpeed connection timeout over everything in public\_html folder, for example, any add-on domains with a document root inside the public\_html folder will also experience no timeout limits from LiteSpeed.**

We have a guide on using the [cPanel File Manager](https://knowledge.blakemarkproductions.com/using-cpanel-file-manager) to access and edit your `.htaccess` file.

- [Getting Started](https://help.blakemarkdigital.co.uk/getting-started)
- [Web Hosting](https://help.blakemarkdigital.co.uk/web-hosting#main-content)

    - [Elementor](https://help.blakemarkdigital.co.uk/web-hosting#elementor)
    - [WordPress](https://help.blakemarkdigital.co.uk/web-hosting#wordpress)
    - [Security](https://help.blakemarkdigital.co.uk/web-hosting#security)
- [Email](https://help.blakemarkdigital.co.uk/email#main-content)

    - [Mail Clients](https://help.blakemarkdigital.co.uk/email#mail-clients)
    - [SpamExperts](https://help.blakemarkdigital.co.uk/email#spamexperts)
    - [MailChannels](https://help.blakemarkdigital.co.uk/email#mailchannels)
- [Domains](https://help.blakemarkdigital.co.uk/domains#main-content)

    - [Domain Privacy](https://help.blakemarkdigital.co.uk/domains#domain-privacy)
- [Billing](https://help.blakemarkdigital.co.uk/billing)
- [cPanel](https://help.blakemarkdigital.co.uk/cpanel#main-content)

    - [JetBackup](https://help.blakemarkdigital.co.uk/cpanel#jetbackup)
    - [Softaculous](https://help.blakemarkdigital.co.uk/cpanel#softaculous)
- [WordPress Glossary Terms](https://help.blakemarkdigital.co.uk/wordpress-glossary-terms#main-content)

    - [H](https://help.blakemarkdigital.co.uk/wordpress-glossary-terms#h)

[![Blake Mark Digital Logo](https://help.blakemarkdigital.co.uk/hs-fs/hubfs/Asset%205.png?width=250&height=71&name=Asset%205.png "Blake Mark Digital Logo")](https://blakemarkdigital.co.uk/)

Blake Mark Digital is a digital marketing agency supporting SMEs and non-profits with strategic branding, content, and campaigns that drive real results

124-128 City Road, London, EC1V 2NX

[support@blakemarkdigital.co.uk](mailto:support@blakemarkdigital.co.uk)

+44 20 4578 9582

<https://www.facebook.com/blakemarkproductions> <https://www.instagram.com/blakemarkproductions/> <https://blakemarkproductions.com/podcast> [mailto:support@blakemarkproductions.com](mailto:support@blakemarkproductions.com)

Copyright © Blake Mark Productions Ltd