# Integrate WordPress with Medianova CDN

WordPress is one of the world’s most widely used content management systems (CMS), offering flexibility through open-source development, easy setup, and extensive theme and plugin support.\
With **Medianova CDN**, your WordPress site’s static assets—such as images, scripts, and videos—are served from the nearest CDN edge node instead of your origin server, ensuring faster delivery to global users.

{% hint style="info" %}
We recommend backing up your WordPress files and database before starting the integration.
{% endhint %}

### Prerequisites

* Access to your **WordPress Admin Panel**
* A **Medianova CDN Resource** created in the [**Medianova Control Panel**](https://cloud.medianova.com)
* Optional: Separate CDN resources for static images (Small Resource) and large media files such as videos (Large Resource)

### Integration Steps

{% stepper %}
{% step %}

### Create a CDN Resource

* Log in to the **Medianova Control Panel**.
* Create a **Small Resource** for static assets (e.g., `.jpg`, `.png`) and a **Large Resource** for video files (e.g., `.mp4`).\
  → Copy the CDN URLs of your created resources; they will be used in plugin configuration.
  {% endstep %}

{% step %}

### Install the Medianova CDN Plugin

* Log in to your **WordPress Admin Panel**.
* In the left-hand menu, go to **Plugins → Add New**.
* In the search bar, type **Medianova** and press **Enter**.
* Install the **Medianova CDN** plugin and click **Activate**.
  {% endstep %}

{% step %}

### Configure the Plugin

* After activation, go to **Settings → CDN Medianova** from the left menu.
* Enter your **CDN URLs**, specify the **folders to include**, and list **file extensions to exclude**.
* Click **Save Changes** to apply your configuration.
  {% endstep %}
  {% endstepper %}

### Tips and Best Practices

* To include multiple file extensions, separate them with commas (`,`).\
  Example: `jpg, png, gif, svg`
* You can view your CDN Resource URLs in the **Medianova Control Panel** under **CDN → Resources** or by visiting [Medianova CDN Integration Docs](https://docs.medianova.com/en/medianova-cdn-user-integration/).

### Troubleshooting

| Problem                              | Cause                                      | Solution                                                                                             |
| ------------------------------------ | ------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| CDN URLs not applied to static files | Plugin not configured or cache not cleared | Recheck the **CDN URLs** in plugin settings and clear the WordPress cache.                           |
| Site shows mixed content warnings    | HTTPS not enabled on CDN resource          | Configure **Shared SSL** or **Custom SSL** in the **Medianova Control Panel** before enabling HTTPS. |
| CDN plugin not found in search       | Outdated WordPress version                 | Update WordPress to the latest version and try again.                                                |
