---
title: How to Set Up Vultr CDN Pull Zones for WordPress Websites with W3 Total Cache
url: https://docs.vultr.com/how-to-set-up-vultr-cdn-pull-zones-for-wordpress-websites-with-w3-total-cache
description: Learn how to boost your WordPress website's performance by setting up Vultr CDN pull zones with W3 Total Cache. Step-by-step guide for faster loading times.
publish_date: 2024-01-28T21:59:50.369597Z
last_updated: 2023-11-21T20:23:49.337033Z
author: Humphrey Mpairwe
header_image: https://docs.vultr.com/public/doc-assets/1745/d4be830c-48ba-46b5-a19e-c9e78e7f4ad9.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

## Introduction

W3 Total Cache is a WordPress caching plugin that offers multiple configuration options and support for Content Delivery Networks (CDNs) such as Vultr CDN. Vultr CDN Pull Zones enable the automatic caching of your WordPress site to improve the delivery of static assets such as images, documents, and media files.

This article explains how to set up Vultr CDN Pull Zones for WordPress websites using the W3 Total Cache plugin.

## Prerequisites

Before you begin:

* [Create a Vultr CDN Pull Zone](https://docs.vultr.com/vultr-content-delivery-network) for your WordPress website by providing the domain name as the origin URL.
* Login to the WordPress administration dashboard.

    ```
    https://example.com/wp-admin
    ```

## Install W3 Total Cache

Follow the steps below to install the W3 Total Cache on your WordPress website.

1. Navigate to the **Plugins** page on the main navigation menu.
1. Click **Add New Plugin** to browse the WordPress plugins database.

    ![Install a new WordPress Plugin](https://docs.vultr.com/public/doc-assets/1745/4474c35d-e833-449d-9005-78c5fd15e4cf.png)

1. Enter `w3 total cache` as the keyword in the search plugins field.
1. Verify the search results and click **Install** on the **W3 Total Cache** plugin result to install it.
1. Click **Activate** to enable the plugin when the installation is successful.

    ![Activate W3 Total Cache](https://docs.vultr.com/public/doc-assets/1745/54f117ec-af7f-477f-8d11-7fe3336171cb.png)

## Configure W3 Total Cache

1. Find and click **Performance** on the main navigation menu to access the W3 Total Cache configuration page.
1. Click **General Settings** from the drop-down list of options.

    ![Access W3 Total Cache General Settings](https://docs.vultr.com/public/doc-assets/1745/6e8588f5-4d0f-484c-a176-ca14fb918ef1.png)

1. Scroll and find the **CDN** section.
1. Check the **CDN: Enable** option to activate the CDN configuration options.
1. Click the **CDN Type** drop-down and select **Generic Mirror** from the list of CDN options.

    ![Select W3 Total Cache Generic Mirror](https://docs.vultr.com/public/doc-assets/1745/800e33e9-e8ca-45cd-b28e-64b0294ea1fb.png)

1. Click **Save Settings** to apply changes.
1. Find and click **CDN** on the plugin navigation list, or click **Advanced Settings** to navigate to the CDN setup page.
1. Verify that the following prompt displays at the top of your CDN configuration:

    ```
    Content Delivery Network object support via mirror is currently enabled and not authorized.

    Content Delivery Network full-site-delivery support via None is currently disabled and not authorized.
    ```

1. Scroll to the **Configuration: Objects** section and keep `Auto (determine connection type automatically)` as the active **SSL support** option.
1. Enter your Vultr CDN Pull Zone URL in the **Replace site’s hostname with:** field.

    ![Enter the Vultr CDN Pull Zone Endpoint in W3 Total Cache](https://docs.vultr.com/public/doc-assets/1745/ee6a814d-2f3f-445e-8985-daedc81588c3.png)

1. Click **Test Mirror** to save changes and test your Vultr CDN connection.
1. Verify that a `Test Passed` prompt displays as your **Test Mirror** result.
1. Click **Save Settings** to apply your CDN configuration.
1. Verify that the following options are enabled in your **General** section:

    ![W3 Total Cache General CDN options](https://docs.vultr.com/public/doc-assets/1745/108890fb-48a1-4601-ba88-ac1f003de9d1.png)

    * **Host attachments**: Caches all WordPress website attachments to the Vultr CDN Pull Zone.
    * **Host wp-includes/files**: Caches all enabled `wp-includes` file types to the Vultr CDN Pull Zone.
    * **Host theme files**: Serves all enabled theme files from the Vultr CDN Pull Zone.
    * **Host minified CSS and JS files**: Caches all minified files to the Vultr CDN Pull Zone.
    * **Host custom files**: Caches all custom file names and paths specified in your advanced configuration to the Vultr CDN Pull Zone.

1. Scroll to the **Advanced** section, and activate the following options:

    ![W3 Total Cache Advanced CDN Options](https://docs.vultr.com/public/doc-assets/1745/3b987c57-8ade-42d1-a43b-3fb21324997d.png)

    * **Use CDN links for the Media Library on admin pages**: Rewrites all WordPress image links with the respective Vultr CDN URL links.
    * **Disable CDN for the following roles**: Disables cached WordPress data for administrative user roles.
    * **Add CORS header**: Enables CORS policies depending on your Vultr CDN Pull Zone's CORS status.

1. Verify the `wp-includes` and theme file types to cache with your CDN.
1. Click **Save Settings** to apply your CDN configuration changes.

## Test the Vultr CDN Pull Zone Integration

1. Access your WordPress website in a different web browser such as Chrome to visit your site as a regular user.

    ```
    https://example.com
    ```

1. Right-click anywhere within your website and select **Inspect** from the list of options.

    ![Inspect WordPress website sources](https://docs.vultr.com/public/doc-assets/1745/d8e632b1-6499-46d2-8e84-dca6120148c5.png)

1. Navigate to the **Sources** tab and verify that your Vultr CDN Pull Zone URL is available on the list of website sources.
1. Right-click any of your WordPress website images and select `Copy Image Address` or `Copy Image Link` depending on your web browser type to test the CDN image integration.
1. Paste the image link in your URL bar, and verify that it uses a Vultr CDN Pull Zone URL instead of your original WordPress website's URL.

    ![Copy a Vultr CDN Image URL](https://docs.vultr.com/public/doc-assets/1745/9656de1f-abe8-4e9f-b7cf-4ec461545c85.png)

1. Press :key_enter: to visit the URL address and verify that your WordPress website image displays correctly as your web browser result.

## Conclusion

You have installed W3 Total Cache and configured your WordPress website to serve cached content from your Vultr CDN Pull Zone. You can offload all supported file types and use W3 Total Cache to improve your website performance.
