> ## Documentation Index
> Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate CDN resource with vBulletin

Before you take any steps please back up your files and database. The plugin works only with the default CMS pattern. If you manually changed CMS patterns, the plugin might not help you.

1\. Login to your vBulletin control panel.

2\. Go to Styles, then to Replacement Variable Manager.

3\. Choose Add New Replacement Variable.

<Frame>
  <img src="https://mintcdn.com/gcore/lJxwP5ZCdc6UHqN3/images/docs/cdn/getting-started/integrate-cdn-with-cms/integrate-cdn-resource-with-vbulletin/vbulletin.png?fit=max&auto=format&n=lJxwP5ZCdc6UHqN3&q=85&s=0086538018aae454a0926b2d36e83720" alt="Integrate CDN resource with vBulletin" width="1906" height="867" data-path="images/docs/cdn/getting-started/integrate-cdn-with-cms/integrate-cdn-resource-with-vbulletin/vbulletin.png" />
</Frame>

Using your CNAME from the [Gcore Customer Portal](https://portal.gcore.com/cdn/resources/list) (`cdn.site.com`). Create a new replacement variable for each item in the following table. Ensure that your [CNAME record has been configured](/cdn/cdn-resource-options/general/create-and-set-a-custom-domain-for-the-content-delivery-via-cdn) in a proper way before using it for integration.

<Frame>
  <img src="https://mintcdn.com/gcore/lJxwP5ZCdc6UHqN3/images/docs/cdn/getting-started/integrate-cdn-with-cms/integrate-cdn-resource-with-vbulletin/bulletin_______.png?fit=max&auto=format&n=lJxwP5ZCdc6UHqN3&q=85&s=00c117f3d4648a7fd102c731a368357b" alt="Gcore Customer Portal " width="1332" height="394" data-path="images/docs/cdn/getting-started/integrate-cdn-with-cms/integrate-cdn-resource-with-vbulletin/bulletin_______.png" />
</Frame>

| Find in the text                                                            | Replace with                                                                                                                                                   |
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `src="customavatars/`                                                       | `src="<http://cdn.site.com/customavatars/>`                                                                                                                    |
| `src="customprofilepics/`                                                   | `src="<http://cdn.site.com/customprofilepics/>`                                                                                                                |
| `src="images/`                                                              | `src="<http://cdn.site.com/images/>`                                                                                                                           |
| `url("clientscript`                                                         | `url("cdn.site.com`                                                                                                                                            |
| `src="clientscript/`                                                        | `src="<http://cdn.site.com/>`                                                                                                                                  |
| `src="{vb:raw vboptions.bburl}/clientscript/`                               | `src="<http://cdn.site.com/>`                                                                                                                                  |
| `href="clientscript/`                                                       | `href="<http://cdn.site.com/>`                                                                                                                                 |
| `url(./images/`                                                             | `url(<http://cdn.site.com/images/>`                                                                                                                            |
| `url(images/`                                                               | `url(<http://cdn.site.com/images/>`                                                                                                                            |
| `var IMGDIR_MISC="images/misc";`<br />`var IMGDIR_BUTTON="images/buttons";` | `var IMGDIR_MISC="[http://cdn.site.com/images/misc";var](http://cdn.site.com/images/misc%22;var)`<br />`IMGDIR_BUTTON="<http://cdn.site.com/images/buttons>";` |

4\. If you have more directories for your images repeat the process for each of them.

5\. Integration has been completed! We highly recommend you to check the HTML code of your web page to ensure that URLs have been rewritten properly from your original ones to CNAME from the Gcore Customer Portal.

To do that press **F12** or open Developers Tools in your browser, choose the Network tab and refresh the page. All static files should have your CNAME in URLs.
