---
title: How To Exclude Assets of WPVR From Autoptimize
description: "If you're using the **Autoptimize** plugin on your website, it may minify the JS files of [**WPVR**](https://wordpress.org/plugins/wpvr/) and the tour won't show up on your webpage. Follow these steps to exclude **WPVR JS** files from Autoptimize. ## **Exclude Assets of…"
url: "https://rextheme.com/docs/wp-vr-exclude-assets-from-autoptimize/"
updated: "2026-01-09"
category: "WP VR / Troubleshooting - Solve Common Issues"
---

# How To Exclude Assets of WPVR From Autoptimize

If you're using the **Autoptimize** plugin on your website, it may minify the JS files of [**WPVR**](https://wordpress.org/plugins/wpvr/) and the tour won't show up on your webpage.

Follow these steps to exclude **WPVR JS** files from Autoptimize.

## **Exclude Assets of WPVR From Autoptimize**

**1.** Go to your WordPress **Dashboard** > **Autoptimize**.

![Autoptimize Settings](https://rextheme.com/wp-content/uploads/2020/10/Autoptimize-Settings.png)

**2.**Under the **JS, CSS & HTML** tab, you'll find the section for **JavaScript Options**.

Here, you'll see the field for **'Exclude scripts from Autoptimize'.**

**3.** If you’re using the free version of **[WPVR](https://wordpress.org/plugins/wpvr/)**, add a comma (,) and include **wp-content/plugins/wpvr**.

If you’re using the pro version of **[WPVR](https://wordpress.org/plugins/wpvr/)**, add a comma (,) and include **wp-content/plugins/wpvr, wp-content/plugins/wpvr-pro**.

![Exclude Assets of WPVR From Autoptimize](https://rextheme.com/wp-content/uploads/2020/10/Exclude-WPVR-JS-Files-From-Autoptimize.png)

**4.** Now scroll down and click on the **Save Changes and Empty Cache** button.

**5.**Go to the webpage, clear the browser cache, and reload the page.

The virtual tour should appear now on your webpage.
