> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.trustmary.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Prevent LiteSpeed Cache from affecting Trustmary URLs

# The What and the Why

Many caching plugins and services often rewrite links placed on your site to cache them and make it quicker to load the site. As useful as this can be, it can also lead to issues with other plugins installed on your site which depend on their contents remaining as originally intended.

Trustmary's embed scripts are no exception, as the script includes an URL from which the contents of the widget are loaded from. A typical Trustmary script would look like this:

```
<script src="https://widget.trustmary.com/C528CbR8n"></script>
```


# The How

The solution to this is to exclude certain URLs from the caching process in the LiteSpeed settings. This can be done in a few simple steps:

1. Navigate to the **Cache** section in the LiteSpeed Cache plugin settings.
2. Select the **Excludes** tab.
3. Add */widget.trustmary.com/*\* to the **Do Not Cache URIs** text box. Be sure to add the star character at the end of the URL, so it'll include all your widgets.
4. Click the **Save changes** button.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/nayttokuva-2025-11-19-kello-10_gemgbl.png =800x514)

This should exclude the Trustmary widget URLs and prevent LiteSpeed from breaking them. If the excluding doesn't seem to work, you can turn off LiteSpeed for a page completely in the WordPress page editor's sidebar:

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/nayttokuva-2025-11-19-kello-12_kjrmho.png)